mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-09-01 12:56:32 +00:00
[lib] cleanup some compiler warnings
- lib/searpc-client.c:353:1: warning: control reaches end of non-void function [-Wreturn-type] - lib/searpc-utils.c:93:13: warning: enumeration value 'JSON_ARRAY' not handled in switch [-Wswitch]
This commit is contained in:
@@ -172,6 +172,12 @@ static gboolean json_deserialize_pspec (GValue *value, GParamSpec *pspec, json_t
|
||||
g_value_set_object (value, NULL);
|
||||
return TRUE;
|
||||
}
|
||||
break;
|
||||
case JSON_ARRAY:
|
||||
return FALSE;
|
||||
break;
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user