library: clean up some miscellaneous compiler warnings
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
2c6a480cc8
commit
97d078a9af
@ -501,7 +501,6 @@ static void diskstats_itemize_stacks_all (
|
||||
|
||||
|
||||
static inline int diskstats_items_check_failed (
|
||||
struct ext_support *this,
|
||||
enum diskstats_item *items,
|
||||
int numitems)
|
||||
{
|
||||
@ -715,7 +714,7 @@ static int diskstats_stacks_reconfig_maybe (
|
||||
enum diskstats_item *items,
|
||||
int numitems)
|
||||
{
|
||||
if (diskstats_items_check_failed(this, items, numitems))
|
||||
if (diskstats_items_check_failed(items, numitems))
|
||||
return -1;
|
||||
/* is this the first time or have things changed since we were last called?
|
||||
if so, gotta' redo all of our stacks stuff ... */
|
||||
@ -1054,4 +1053,5 @@ PROCPS_EXPORT struct diskstats_result *xtra_diskstats_val (
|
||||
fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str);
|
||||
}
|
||||
return &stack->head[relative_enum];
|
||||
(void)info;
|
||||
} // end: xtra_diskstats_val
|
||||
|
@ -944,4 +944,5 @@ PROCPS_EXPORT struct meminfo_result *xtra_meminfo_val (
|
||||
fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str);
|
||||
}
|
||||
return &stack->head[relative_enum];
|
||||
(void)info;
|
||||
} // end: xtra_meminfo_val
|
||||
|
@ -1546,4 +1546,5 @@ PROCPS_EXPORT struct pids_result *xtra_pids_val (
|
||||
fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str);
|
||||
}
|
||||
return &stack->head[relative_enum];
|
||||
(void)info;
|
||||
} // end: xtra_pids_val
|
||||
|
@ -584,7 +584,6 @@ static void slabinfo_itemize_stacks_all (
|
||||
|
||||
|
||||
static inline int slabinfo_items_check_failed (
|
||||
struct ext_support *this,
|
||||
enum slabinfo_item *items,
|
||||
int numitems)
|
||||
{
|
||||
@ -742,7 +741,7 @@ static int slabinfo_stacks_reconfig_maybe (
|
||||
enum slabinfo_item *items,
|
||||
int numitems)
|
||||
{
|
||||
if (slabinfo_items_check_failed(this, items, numitems))
|
||||
if (slabinfo_items_check_failed(items, numitems))
|
||||
return -1;
|
||||
/* is this the first time or have things changed since we were last called?
|
||||
if so, gotta' redo all of our stacks stuff ... */
|
||||
@ -1070,4 +1069,5 @@ PROCPS_EXPORT struct slabinfo_result *xtra_slabinfo_val (
|
||||
fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str);
|
||||
}
|
||||
return &stack->head[relative_enum];
|
||||
(void)info;
|
||||
} // end: xtra_slabinfo_val
|
||||
|
@ -1213,4 +1213,5 @@ PROCPS_EXPORT struct stat_result *xtra_stat_val (
|
||||
fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str);
|
||||
}
|
||||
return &stack->head[relative_enum];
|
||||
(void)info;
|
||||
} // end: xtra_stat_val
|
||||
|
@ -1312,4 +1312,5 @@ PROCPS_EXPORT struct vmstat_result *xtra_vmstat_val (
|
||||
fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str);
|
||||
}
|
||||
return &stack->head[relative_enum];
|
||||
(void)info;
|
||||
} // end: xtra_vmstat_val
|
||||
|
Loading…
Reference in New Issue
Block a user