mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
getgr_test: fix -Wunused warnings
MFC after: 3 days Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
87a9deed3c
commit
91c53523fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319044
@ -307,7 +307,7 @@ group_fill_test_data(struct group_test_data *td)
|
||||
}
|
||||
|
||||
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_model, void *mdata)
|
||||
}
|
||||
|
||||
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(). */
|
||||
|
Loading…
Reference in New Issue
Block a user