summaryrefslogtreecommitdiffstats
path: root/usr.bin/file
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-05-01 08:53:26 +0000
committernicm <nicm@openbsd.org>2016-05-01 08:53:26 +0000
commit08c03d981ba00195fd362899ad5e68ff0f489cc5 (patch)
tree47510f2a0cdc2f94b37de9a5fb356c322206b297 /usr.bin/file
parentTest for default (RTF file with an unrecognized character set). (diff)
downloadwireguard-openbsd-08c03d981ba00195fd362899ad5e68ff0f489cc5.tar.xz
wireguard-openbsd-08c03d981ba00195fd362899ad5e68ff0f489cc5.zip
Remove __unused that are now lies.
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/magic-test.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/file/magic-test.c b/usr.bin/file/magic-test.c
index 41474ef7dd8..e50f9fa1fd0 100644
--- a/usr.bin/file/magic-test.c
+++ b/usr.bin/file/magic-test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magic-test.c,v 1.20 2016/05/01 08:48:39 nicm Exp $ */
+/* $OpenBSD: magic-test.c,v 1.21 2016/05/01 08:53:26 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -1051,7 +1051,7 @@ magic_test_type_search(struct magic_line *ml, struct magic_state *ms)
}
static int
-magic_test_type_default(__unused struct magic_line *ml, struct magic_state *ms)
+magic_test_type_default(struct magic_line *ml, struct magic_state *ms)
{
if (!ms->matched && ml->result != NULL)
magic_add_result(ms, ml, "%s", "");
@@ -1059,8 +1059,7 @@ magic_test_type_default(__unused struct magic_line *ml, struct magic_state *ms)
}
static int
-magic_test_type_clear(__unused struct magic_line *ml,
- __unused struct magic_state *ms)
+magic_test_type_clear(struct magic_line *ml, struct magic_state *ms)
{
if (ml->result != NULL)
magic_add_result(ms, ml, "%s", "");