Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/videoctl videoctl: remove unnecessary code for unkno...



details:   https://anonhg.NetBSD.org/src/rev/b4d4eff4ec9e
branches:  trunk
changeset: 959571:b4d4eff4ec9e
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Feb 19 11:39:11 2021 +0000

description:
videoctl: remove unnecessary code for unknown option -h

The generated binary stays the same.

diffstat:

 usr.bin/videoctl/videoctl.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 27bcc1a5d0fe -r b4d4eff4ec9e usr.bin/videoctl/videoctl.c
--- a/usr.bin/videoctl/videoctl.c       Fri Feb 19 08:57:56 2021 +0000
+++ b/usr.bin/videoctl/videoctl.c       Fri Feb 19 11:39:11 2021 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2010\
  Jared D. McNeill <jmcneill%invisible.ca@localhost>. 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 @@
                case 'w':
                        wflag = true;
                        break;
-               case 'h':
                default:
                        usage();
                        /* NOTREACHED */



Home | Main Index | Thread Index | Old Index