浏览代码

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;