projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa142b0
)
Fix compiler warning.
author
Brenden Matthews
<brenden@rty.ca>
Mon, 3 Aug 2009 18:54:21 +0000
(12:54 -0600)
committer
Brenden Matthews
<brenden@rty.ca>
Mon, 3 Aug 2009 18:54:21 +0000
(12:54 -0600)
src/weather.c
patch
|
blob
|
history
diff --git
a/src/weather.c
b/src/weather.c
index
671d526
..
3cc8f4e
100644
(file)
--- 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;
}