From ecfcfacce3e419f69db4614f9fcb818f2dc80667 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Mon, 3 Aug 2009 12:54:21 -0600 Subject: [PATCH] Fix compiler warning. --- src/weather.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/weather.c b/src/weather.c index 671d5265..3cc8f4e4 100644 --- a/src/weather.c +++ b/src/weather.c @@ -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; }