From ded935ea33c9ba1167549b4d4f39f72a91a12a0f Mon Sep 17 00:00:00 2001 From: rillig Date: Fri, 19 Feb 2021 11:39:11 +0000 Subject: [PATCH] videoctl: remove unnecessary code for unknown option -h The generated binary stays the same. --- usr.bin/videoctl/videoctl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.bin/videoctl/videoctl.c b/usr.bin/videoctl/videoctl.c index ec4cd803c682..ee2fa8324adf 100644 --- a/usr.bin/videoctl/videoctl.c +++ b/usr.bin/videoctl/videoctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: videoctl.c,v 1.2 2011/09/16 15:39:30 joerg Exp $ */ +/* $NetBSD: videoctl.c,v 1.3 2021/02/19 11:39:11 rillig Exp $ */ /*- * Copyright (c) 2010 Jared D. McNeill @@ -29,7 +29,7 @@ #include __COPYRIGHT("@(#) Copyright (c) 2010\ Jared D. McNeill . All rights reserved."); -__RCSID("$NetBSD: videoctl.c,v 1.2 2011/09/16 15:39:30 joerg Exp $"); +__RCSID("$NetBSD: videoctl.c,v 1.3 2021/02/19 11:39:11 rillig Exp $"); #include #include @@ -120,7 +120,6 @@ main(int argc, char *argv[]) case 'w': wflag = true; break; - case 'h': default: usage(); /* NOTREACHED */