Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin/xlint/lint1 tests/lint: fix typos in comment i...
details: https://anonhg.NetBSD.org/src/rev/1a781db2c58d
branches: trunk
changeset: 984378:1a781db2c58d
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Jul 05 19:43:29 2021 +0000
description:
tests/lint: fix typos in comment in expr_range
diffstat:
tests/usr.bin/xlint/lint1/expr_range.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (21 lines):
diff -r ebc8fbd043b3 -r 1a781db2c58d tests/usr.bin/xlint/lint1/expr_range.c
--- a/tests/usr.bin/xlint/lint1/expr_range.c Mon Jul 05 19:39:12 2021 +0000
+++ b/tests/usr.bin/xlint/lint1/expr_range.c Mon Jul 05 19:43:29 2021 +0000
@@ -1,13 +1,13 @@
-/* $NetBSD: expr_range.c,v 1.2 2021/05/15 19:12:14 rillig Exp $ */
+/* $NetBSD: expr_range.c,v 1.3 2021/07/05 19:43:29 rillig Exp $ */
# 3 "expr_range.c"
/*
* In a switch statement that has (expr & constant) as the controlling
- * expression, complain if one of the case branches is unreachable because
- * the case label does can never match the controlling expression.
+ * expression, complain if a case branch is unreachable because the case
+ * label can never match the controlling expression.
*
* GCC 10 does not complain about the unreachable branch. It knows that the
- * branch is unreachable though since it doesn't generate any code for it.
+ * branch is unreachable though, since it doesn't generate any code for it.
* GCC once had the option -Wunreachable-code, but that option was made a
* no-op in 2011.
*
Home |
Main Index |
Thread Index |
Old Index