diff -uNr old-openbox-3.5.0//obt/prop.c openbox-3.5.0/obt/prop.c
--- old-openbox-3.5.0//obt/prop.c	2011-08-01 22:14:58.000000000 +0200
+++ openbox-3.5.0/obt/prop.c	2011-08-07 16:51:36.864905495 +0200
@@ -312,6 +312,7 @@
     default:
         g_assert_not_reached();
     }
+    return TRUE;
 }
 
 /*! Returns one or more UTF-8 encoded strings from the text property.
diff -uNr old-openbox-3.5.0//openbox/mouse.c openbox-3.5.0/openbox/mouse.c
--- old-openbox-3.5.0//openbox/mouse.c	2011-08-01 22:14:58.000000000 +0200
+++ openbox-3.5.0/openbox/mouse.c	2011-08-07 16:50:21.352905497 +0200
@@ -174,6 +174,7 @@
     case OB_MOUSE_ACTION_MOTION: return OB_USER_ACTION_MOUSE_MOTION;
     default:
         g_assert_not_reached();
+        return OB_USER_ACTION_NONE;
     }
 }
 
