diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2022-08-30 11:51:45 +0200 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2022-08-30 13:15:59 +0200 |
commit | ab53751e89770f347a834ca2bb380c882249f8da (patch) | |
tree | 9ec41ff5e41333d7b57b5032be268b7f0b0bf2a6 | |
parent | c57bc8d8c3026ca069c3e7e54e0f29469d0312af (diff) | |
download | navit-ab53751e89770f347a834ca2bb380c882249f8da.tar.gz |
fix:gui:qt5_qml: Fix -Wmissing-prototype warning
get_icon() was declared in proxy.h, which we never included. This fixes:
proxy.c:34:52: warning: unused variable ‘img’ [-Wunused-variable]
34 | struct graphics_image *img;
-rw-r--r-- | navit/gui/qt5_qml/proxy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/gui/qt5_qml/proxy.c b/navit/gui/qt5_qml/proxy.c index 399925519..3e970129d 100644 --- a/navit/gui/qt5_qml/proxy.c +++ b/navit/gui/qt5_qml/proxy.c @@ -9,6 +9,7 @@ #include "transform.h" #include "debug.h" #include "search.h" +#include "proxy.h" char * get_icon(struct navit *nav, struct item *item) { |