summaryrefslogtreecommitdiff
path: root/navit/event_glib.c
diff options
context:
space:
mode:
authorhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-12-28 21:23:41 +0000
committerhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-12-28 21:23:41 +0000
commit879880aae058ecf06f515e172769404ff4b7c2cd (patch)
tree236ab8eb139e1c25f251e2c37a27ffe927692735 /navit/event_glib.c
parent07334a013711c5e14649b85e114f6f451f1fce2a (diff)
downloadnavit-879880aae058ecf06f515e172769404ff4b7c2cd.tar.gz
core:fix:Fix some warnings and do some small cleanups
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1864 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/event_glib.c')
-rw-r--r--navit/event_glib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/event_glib.c b/navit/event_glib.c
index 7a3c6f5f6..5387d54a5 100644
--- a/navit/event_glib.c
+++ b/navit/event_glib.c
@@ -22,6 +22,7 @@
#include "event_glib.h"
#include "debug.h"
#include "callback.h"
+#include "plugin.h"
static GMainLoop *loop;
@@ -77,7 +78,6 @@ event_glib_add_watch(void *fd, enum event_watch_cond cond, struct callback *cb)
static void
event_glib_remove_watch(struct event_watch *ev)
{
- GError *error = NULL;
if (! ev)
return;
g_source_remove(ev->source);