From 7cf15411bb23db62e4fb85d36f50f3d15371cc06 Mon Sep 17 00:00:00 2001 From: ngie Date: Sun, 15 Nov 2015 05:00:32 +0000 Subject: Fix -Wunused warnings with variables used unlit code by adding appropriate #ifdef guards around the variables MFC after: 3 days Sponsored by: EMC / Isilon Storage Division --- contrib/netbsd-tests/lib/libc/gen/t_glob.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib/netbsd-tests/lib/libc/gen/t_glob.c') diff --git a/contrib/netbsd-tests/lib/libc/gen/t_glob.c b/contrib/netbsd-tests/lib/libc/gen/t_glob.c index 198148c..0572a42 100644 --- a/contrib/netbsd-tests/lib/libc/gen/t_glob.c +++ b/contrib/netbsd-tests/lib/libc/gen/t_glob.c @@ -91,9 +91,11 @@ static struct gl_dir d[] = { { "a/b", b, __arraycount(b), 0 }, }; +#ifndef __FreeBSD__ static const char *glob_star[] = { "a/1", "a/3", "a/4", "a/b", "a/b/w", "a/b/x", "a/b/y", "a/b/z", }; +#endif static const char *glob_star_not[] = { "a/1", "a/3", "a/4", "a/b", -- cgit v1.1