G_GNUC_UNUSED fun and other compiler warnings ...
This commit is contained in:
@@ -44,11 +44,8 @@ glibtop_init_proc_segment_p (glibtop *server)
|
||||
void
|
||||
glibtop_get_proc_segment_p (glibtop *server,
|
||||
glibtop_proc_segment *buf,
|
||||
pid_t pid)
|
||||
pid_t G_GNUC_UNUSED pid)
|
||||
{
|
||||
struct kinfo_proc *pinfo;
|
||||
int *count;
|
||||
|
||||
glibtop_init_p (server, (1 << GLIBTOP_SYSDEPS_PROC_SEGMENT), 0);
|
||||
|
||||
memset (buf, 0, sizeof (glibtop_proc_segment));
|
||||
|
||||
Reference in New Issue
Block a user