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/295b18d2e1fb
branches:  trunk
changeset: 952827:295b18d2e1fb
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 9cc599b77464 -r 295b18d2e1fb 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