mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-09-25 20:35:40 +00:00
Merge pull request #12 from Chilledheart/patch-1
[lib] cleanup some compiler warning
This commit is contained in:
@@ -350,6 +350,8 @@ searpc_client_generic_callback (char *retstr, size_t len,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
g_free (data);
|
g_free (data);
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -172,6 +172,12 @@ static gboolean json_deserialize_pspec (GValue *value, GParamSpec *pspec, json_t
|
|||||||
g_value_set_object (value, NULL);
|
g_value_set_object (value, NULL);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
case JSON_ARRAY:
|
||||||
|
return FALSE;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user