summaryrefslogtreecommitdiff
path: root/obt/prop.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2013-08-11 14:39:26 -0400
committerDana Jansens <danakj@orodu.net>2013-08-11 14:43:23 -0400
commitbcfe59fce27bb6a7aa7bc9dde2ad461dfaf68816 (patch)
treeffa5290699cfc33ce13bd58b37ea8be1ca9a6ad6 /obt/prop.c
parentb4b780bae62852d098080b33919c5e12c7e41227 (diff)
Fix some compiler warnings
Void function should actually be declared void. Not-reached switch condition should still return something.
Diffstat (limited to 'obt/prop.c')
-rw-r--r--obt/prop.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}