library: clean up some miscellaneous compiler warnings
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user