From bcfe59fce27bb6a7aa7bc9dde2ad461dfaf68816 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 11 Aug 2013 14:39:26 -0400 Subject: Fix some compiler warnings Void function should actually be declared void. Not-reached switch condition should still return something. --- obt/prop.c | 1 + 1 file changed, 1 insertion(+) (limited to 'obt') diff --git a/obt/prop.c b/obt/prop.c index f7919d6c..0cecccf4 100644 --- a/obt/prop.c +++ b/obt/prop.c @@ -314,6 +314,7 @@ static gboolean get_text_property(Window win, Atom prop, return tprop->encoding == OBT_PROP_ATOM(UTF8_STRING); default: g_assert_not_reached(); + return FALSE; } } -- cgit v1.2.3