summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
83c71f7)
For some reason there's a null check for host_ret in parse_url(), which
is at that point is an uninitialised local variable. Just remove the check.
plugins/pacrunner.c:316:5: error: 'host_ret' may be used uninitialized in
this function
if (scheme == NULL)
return NULL;
if (scheme == NULL)
return NULL;
- if (host_ret == NULL)
- return NULL;
-
host = strstr(scheme, "://");
if (host != NULL) {
*host = '\0';
host = strstr(scheme, "://");
if (host != NULL) {
*host = '\0';