mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-09-02 05:14:48 +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:
@@ -350,6 +350,8 @@ searpc_client_generic_callback (char *retstr, size_t len,
|
||||
}
|
||||
}
|
||||
g_free (data);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user