G_GNUC_UNUSED fun and other compiler warnings ...

This commit is contained in:
Martin Baulig
1998-10-03 03:19:09 +00:00
parent be63bf2d42
commit dfda639756
19 changed files with 36 additions and 38 deletions

View File

@@ -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));