diff options
author | Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> | 2013-02-27 11:57:15 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-27 07:42:55 -0800 |
commit | 1c290ebe5b8a79d18bd18f74e149af73fda0cb14 (patch) | |
tree | 0c88f1ee0f5f06a4c771cc5bc4d6c962e9aaa6c2 /info.c | |
parent | f04d9c565699bf0aa50005c072bb8fa80fc6d320 (diff) | |
download | subsurface-1c290ebe5b8a79d18bd18f74e149af73fda0cb14.tar.gz |
Unused variable warning when building without libosmgpsmap.
info.c: In function 'dive_info_widget':
info.c:759:48: warning: unused variable 'image' [-Wunused-variable]
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'info.c')
-rw-r--r-- | info.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -756,7 +756,10 @@ static void location_entry_change_cb(GtkComboBox *location, gpointer *userdata) static void dive_info_widget(GtkWidget *box, struct dive *dive, struct dive_info *info, gboolean multi) { - GtkWidget *hbox, *label, *frame, *equipment, *image; + GtkWidget *hbox, *label, *frame, *equipment; +#if HAVE_OSM_GPS_MAP + GtkWidget *image; +#endif char buffer[128]; char airtemp[6]; const char *unit; |