Explorar o código

cplc: init var to avoid compile warning

Daniel-Constantin Mierla %!s(int64=6) %!d(string=hai) anos
pai
achega
0f1b970ae7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;