[geocode-glib] lib: Fix compile-time warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] lib: Fix compile-time warning
- Date: Wed, 19 Jun 2013 15:31:55 +0000 (UTC)
commit c27101dc16f427144f58715e724c437d335af772
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 19 16:58:41 2013 +0200
lib: Fix compile-time warning
geocode-glib/geocode-ipclient.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/geocode-glib/geocode-ipclient.c b/geocode-glib/geocode-ipclient.c
index 194a304..eb2d2cb 100644
--- a/geocode-glib/geocode-ipclient.c
+++ b/geocode-glib/geocode-ipclient.c
@@ -342,6 +342,8 @@ parse_server_error (JsonObject *object, GError **error)
case DATABASE_ERR:
error_code = GEOCODE_ERROR_INTERNAL_SERVER;
break;
+ default:
+ g_assert_not_reached ();
}
error_message = json_object_get_string_member (object, "error_message");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]