From 02dc4f1751cbdcf44cdaf85796cb515d394fac1f Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Wed, 11 May 2016 17:27:27 +0000 Subject: [PATCH] mixer(8): Style: Tag no-return usage() as __dead2 Coverity really should have figured this out from the exit(3) call at the end of the routine, but just make it explicit. No functional change. Reported by: Coverity CID: 1304866 (false positive double-close of 'baz') Sponsored by: EMC / Isilon Storage Division --- usr.sbin/mixer/mixer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c index 49b57d84ef1..be48a8ebbf5 100644 --- a/usr.sbin/mixer/mixer.c +++ b/usr.sbin/mixer/mixer.c @@ -26,11 +26,11 @@ __FBSDID("$FreeBSD$"); static const char *names[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES; -static void usage(int devmask, int recmask); +static void usage(int devmask, int recmask) __dead2; static int res_name(const char *name, int mask); static void print_recsrc(int recsrc, int recmask, int sflag); -static void +static void __dead2 usage(int devmask, int recmask) { int i, n;