Zeroed all args.
* backends/server/command.c: (glibtop_call_i): Zeroed all args. * configure.in: Bumped soname (thanks to seb128 and Dodji even if i've fully understand everything. * include/glibtop/array.h: * include/glibtop/compat_10.h: * include/glibtop/glib-arrays.h: * include/glibtop/interfaces.h: * include/glibtop/proccwd.h: * lib/glib-arrays.c: * sysdeps/names/interfaces.c: * sysdeps/names/proccwd.c: Got rid of never-used / never-implemented files.
This commit is contained in:
@@ -34,14 +34,8 @@ glibtop_call_i (glibtop_server *server, backend_server_private *priv,
|
||||
size_t recv_size, void *recv_ptr,
|
||||
int *retval_ptr)
|
||||
{
|
||||
glibtop_command cmnd;
|
||||
glibtop_response resp;
|
||||
#if 0
|
||||
int retval;
|
||||
#endif
|
||||
|
||||
memset (&cmnd, 0, sizeof (glibtop_command));
|
||||
memset (&resp, 0, sizeof (glibtop_response));
|
||||
glibtop_command cmnd = {0};
|
||||
glibtop_response resp = {0};
|
||||
|
||||
cmnd.command = command;
|
||||
|
||||
|
Reference in New Issue
Block a user