diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2022-08-30 13:47:30 +0200 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2022-08-30 15:14:20 +0200 |
commit | cb4216da50a5ead25f3bb086740b1a7e543fb4be (patch) | |
tree | 767d56d80d2e1e8002811e6675a8a2acb58062a9 | |
parent | eb03d7e6ea92c28a6be4d4bfb46f98fc3e8fb90c (diff) | |
download | navit-cb4216da50a5ead25f3bb086740b1a7e543fb4be.tar.gz |
Fix:gui:qt5_qml: Fix -Wunused-variable for proxy.c
This fixes the warning:
proxy.c:35:52: warning: unused variable ‘img’ [-Wunused-variable]
35 | struct graphics_image *img;
|
-rw-r--r-- | navit/gui/qt5_qml/proxy.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/navit/gui/qt5_qml/proxy.c b/navit/gui/qt5_qml/proxy.c index 3e970129d..c38fe37e7 100644 --- a/navit/gui/qt5_qml/proxy.c +++ b/navit/gui/qt5_qml/proxy.c @@ -32,7 +32,6 @@ char * get_icon(struct navit *nav, struct item *item) { if(el->type==element_icon) { char *src; char *icon; - struct graphics_image *img; if(item_is_custom_poi(*item)) { struct map_rect *mr=map_rect_new(item->map, NULL); item=map_rect_get_item_byid(mr, item->id_hi, item->id_lo); |