svn commit: r319044 - head/lib/libc/tests/nss
Ngie Cooper
ngie at FreeBSD.org
Sun May 28 04:43:03 UTC 2017
Author: ngie
Date: Sun May 28 04:43:02 2017
New Revision: 319044
URL: https://svnweb.freebsd.org/changeset/base/319044
Log:
getgr_test: fix -Wunused warnings
MFC after: 3 days
Sponsored by: Dell EMC Isilon
Modified:
head/lib/libc/tests/nss/getgr_test.c
Modified: head/lib/libc/tests/nss/getgr_test.c
==============================================================================
--- head/lib/libc/tests/nss/getgr_test.c Sun May 28 04:41:06 2017 (r319043)
+++ head/lib/libc/tests/nss/getgr_test.c Sun May 28 04:43:02 2017 (r319044)
@@ -307,7 +307,7 @@ group_fill_test_data(struct group_test_d
}
static int
-group_test_correctness(struct group *grp, void *mdata)
+group_test_correctness(struct group *grp, void *mdata __unused)
{
printf("testing correctness with the following data:\n");
dump_group(grp);
@@ -385,7 +385,7 @@ group_test_getgrgid(struct group *grp_mo
}
static int
-group_test_getgrent(struct group *grp, void *mdata)
+group_test_getgrent(struct group *grp, void *mdata __unused)
{
/* Only correctness can be checked when doing 1-pass test for
* getgrent(). */
More information about the svn-src-head
mailing list