Module Name: src Committed By: rillig Date: Fri Mar 29 06:13:40 UTC 2024
Modified Files: src/usr.sbin/moused: moused.c Log Message: moused: remove undocumented and unused option 'C' To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/moused/moused.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.sbin/moused/moused.c diff -u src/usr.sbin/moused/moused.c:1.30 src/usr.sbin/moused/moused.c:1.31 --- src/usr.sbin/moused/moused.c:1.30 Sat Jun 24 05:15:42 2023 +++ src/usr.sbin/moused/moused.c Fri Mar 29 06:13:40 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: moused.c,v 1.30 2023/06/24 05:15:42 msaitoh Exp $ */ +/* $NetBSD: moused.c,v 1.31 2024/03/29 06:13:40 rillig Exp $ */ /** ** Copyright (c) 1995 Michael Smith, All rights reserved. ** @@ -48,7 +48,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: moused.c,v 1.30 2023/06/24 05:15:42 msaitoh Exp $"); +__RCSID("$NetBSD: moused.c,v 1.31 2024/03/29 06:13:40 rillig Exp $"); #endif /* not lint */ #include <ctype.h> @@ -685,15 +685,6 @@ main(int argc, char *argv[]) } break; - case 'C': - rodent.clickthreshold = atoi(optarg); - if ((rodent.clickthreshold < 0) || - (rodent.clickthreshold > MAX_CLICKTHRESHOLD)) { - warnx("invalid argument `%s'", optarg); - usage(); - } - break; - case 'D': rodent.flags |= ClearDTR; break;