Module Name: src Committed By: rillig Date: Fri Feb 19 11:39:11 UTC 2021
Modified Files: src/usr.bin/videoctl: videoctl.c Log Message: videoctl: remove unnecessary code for unknown option -h The generated binary stays the same. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.bin/videoctl/videoctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/videoctl/videoctl.c diff -u src/usr.bin/videoctl/videoctl.c:1.2 src/usr.bin/videoctl/videoctl.c:1.3 --- src/usr.bin/videoctl/videoctl.c:1.2 Fri Sep 16 15:39:30 2011 +++ src/usr.bin/videoctl/videoctl.c Fri Feb 19 11:39:11 2021 @@ -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 <jmcne...@invisible.ca> @@ -29,7 +29,7 @@ #include <sys/cdefs.h> __COPYRIGHT("@(#) Copyright (c) 2010\ Jared D. McNeill <jmcne...@invisible.ca>. 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 <sys/types.h> #include <sys/ioctl.h> @@ -120,7 +120,6 @@ main(int argc, char *argv[]) case 'w': wflag = true; break; - case 'h': default: usage(); /* NOTREACHED */