Fix compilation error with missing return value
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 12 Sep 2009 07:01:05 +0000 (09:01 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 12 Sep 2009 07:01:05 +0000 (09:01 +0200)
src/network.c

index 3431fba..bcac56b 100644 (file)
@@ -931,7 +931,8 @@ gboolean __ofono_netreg_remove_status_watch(struct ofono_netreg *netreg,
                                                unsigned int id)
 {
        DBG("%p", netreg);
-       __ofono_watchlist_remove_item(netreg->status_watches, id);
+
+       return __ofono_watchlist_remove_item(netreg->status_watches, id);
 }
 
 static void notify_status_watches(struct ofono_netreg *netreg)