Skip to content
Snippets Groups Projects
Commit 1ee84d0d authored by Moe Jette's avatar Moe Jette
Browse files

don't try to set var before xmalloc

parent 30b9c5df
No related branches found
No related tags found
No related merge requests found
...@@ -1056,7 +1056,6 @@ int env_array_overwrite_fmt(char ***array_ptr, const char *name, ...@@ -1056,7 +1056,6 @@ int env_array_overwrite_fmt(char ***array_ptr, const char *name,
char *str = NULL; char *str = NULL;
va_list ap; va_list ap;
buf[0] = '\0';
if (array_ptr == NULL) if (array_ptr == NULL)
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment