Void function should actually be declared void. Not-reached switch
condition should still return something.
return tprop->encoding == OBT_PROP_ATOM(UTF8_STRING);
default:
g_assert_not_reached();
return tprop->encoding == OBT_PROP_ATOM(UTF8_STRING);
default:
g_assert_not_reached();
actions_register("If", setup_func, free_func, run_func);
}
actions_register("If", setup_func, free_func, run_func);
}
-static inline set_bool(xmlNodePtr node,
- const char *name,
- gboolean *on,
- gboolean *off)
+static inline void set_bool(xmlNodePtr node,
+ const char *name,
+ gboolean *on,
+ gboolean *off)