소스 검색

cplc: init var to avoid compile warning

Daniel-Constantin Mierla 6 년 전
부모
커밋
0f1b970ae7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/modules/cplc/cpl_run.c

+ 1 - 1
src/modules/cplc/cpl_run.c

@@ -413,7 +413,7 @@ static inline char *run_remove_location( struct cpl_interpreter *intr )
 	unsigned short attr_name;
 	unsigned short n;
 	char *p;
-	str url;
+	str url = STR_NULL;
 	int i;
 
 	url.s = (char*)UNDEF_CHAR;