From: Michael R Sweet Date: Tue, 9 Apr 2024 22:18:08 +0000 (-0400) Subject: Fix warnings. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d73371a00b081c6b569a04e1fac26f3a6fa4a6ed;p=thirdparty%2Fcups.git Fix warnings. --- diff --git a/cgi-bin/help-index.c b/cgi-bin/help-index.c index e66d64af2b..9dbc23cb7b 100644 --- a/cgi-bin/help-index.c +++ b/cgi-bin/help-index.c @@ -1209,13 +1209,16 @@ help_new_node(const char *filename, /* I - Filename */ * 'help_sort_nodes_by_name()' - Sort nodes by section, filename, and anchor. */ -static int /* O - Difference */ -help_sort_by_name(help_node_t *n1, /* I - First node */ - help_node_t *n2, /* I - Second node */ - void *data) /* Unused */ +static int /* O - Difference */ +help_sort_by_name( + help_node_t *n1, /* I - First node */ + help_node_t *n2, /* I - Second node */ + void *data) /* Unused */ { - int diff; /* Difference */ + int diff; /* Difference */ + + (void)data; if ((diff = strcmp(n1->filename, n2->filename)) != 0) return (diff);