Explorar el Código

cplc: init var to avoid compile warning

Daniel-Constantin Mierla hace 6 años
padre
commit
0f1b970ae7
Se han modificado 1 ficheros con 1 adiciones y 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;