Module Name:    src
Committed By:   rillig
Date:           Mon Jul  5 19:43:29 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint/lint1: expr_range.c

Log Message:
tests/lint: fix typos in comment in expr_range


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/expr_range.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/xlint/lint1/expr_range.c
diff -u src/tests/usr.bin/xlint/lint1/expr_range.c:1.2 src/tests/usr.bin/xlint/lint1/expr_range.c:1.3
--- src/tests/usr.bin/xlint/lint1/expr_range.c:1.2	Sat May 15 19:12:14 2021
+++ src/tests/usr.bin/xlint/lint1/expr_range.c	Mon Jul  5 19:43:29 2021
@@ -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.
  *

Reply via email to