Skip to content
Snippets Groups Projects
Commit ac24882c authored by Simon McVittie's avatar Simon McVittie
Browse files

_dbus_g_hash_func_from_gtype: Ensure result is always initialized

parent eb51f65b
No related branches found
No related tags found
No related merge requests found
......@@ -435,7 +435,7 @@ _dbus_gtype_is_valid_hash_value (GType gtype)
GHashFunc
_dbus_g_hash_func_from_gtype (GType gtype)
{
GHashFunc func;
GHashFunc func = NULL;
gboolean ret;
ret = hash_func_from_gtype (gtype, &func);
g_assert (ret != FALSE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment