1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

Fix compiler warning.

This commit is contained in:
Brenden Matthews 2009-08-03 12:54:21 -06:00
parent aa142b0941
commit ecfcfacce3

View File

@ -803,7 +803,7 @@ int process_weather_uri(char *uri, char *locID, int dayf)
free(uri);
uri = NULL;
}
} else
} else
#endif /* XOAP */
if (strstr(uri, "weather.noaa.gov")) {
strcat(uri, locID);
@ -811,5 +811,6 @@ int process_weather_uri(char *uri, char *locID, int dayf)
} else if (!strstr(uri, "localhost") && !strstr(uri, "127.0.0.1")) {
return -1;
}
if (dayf) {} /* make gcc shut up */
return 0;
}