diff options
author | Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> | 2013-03-02 12:01:33 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-03-02 08:42:48 -0800 |
commit | e89c2fd656c94c60cdb2d51d1451ff86daf559d0 (patch) | |
tree | cd9941445111570825a574c6a6dee5857e2319bb | |
parent | 0f9142b4e3ea3a46f7cee95cf9363c5fd3264ad3 (diff) | |
download | subsurface-e89c2fd656c94c60cdb2d51d1451ff86daf559d0.tar.gz |
Another unused variable warning when building without libosmgpsmap.
gtk-gui.c: In function 'preferences_dialog':
gtk-gui.c:670:30: warning: unused variable 'map_provider' [-Wunused-variable]
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | gtk-gui.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -667,7 +667,10 @@ static void preferences_dialog(GtkWidget *w, gpointer data) { int result; GtkWidget *dialog, *notebook, *font, *frame, *box, *hbox, *vbox, *button; - GtkWidget *xmlfile_button, *map_provider; + GtkWidget *xmlfile_button; +#if HAVE_OSM_GPS_MAP + GtkWidget *map_provider; +#endif GtkWidget *entry_po2, *entry_pn2, *entry_phe, *entry_mod, *entry_gflow, *entry_gfhigh; const char *current_default, *new_default; char threshold_text[10], mod_text[10], utf8_buf[128]; |