Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/util/xlint/lint1 Fix lint unrelated "set but not used"...
details: https://anonhg.NetBSD.org/src/rev/6fee831ec6f2
branches: trunk
changeset: 770148:6fee831ec6f2
user: njoly <njoly%NetBSD.org@localhost>
date: Wed Oct 05 21:30:50 2011 +0000
description:
Fix lint unrelated "set but not used" warning, to unbreak test.
diffstat:
tests/util/xlint/lint1/d_c99_decls_after_stmt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (10 lines):
diff -r 222b70d6bdd8 -r 6fee831ec6f2 tests/util/xlint/lint1/d_c99_decls_after_stmt.c
--- a/tests/util/xlint/lint1/d_c99_decls_after_stmt.c Wed Oct 05 20:39:24 2011 +0000
+++ b/tests/util/xlint/lint1/d_c99_decls_after_stmt.c Wed Oct 05 21:30:50 2011 +0000
@@ -1,5 +1,5 @@
void sample(void)
{
int i = 0; i += 1;
- int j = 0; i += 1;
+ int j = 0; j += 1;
}
Home |
Main Index |
Thread Index |
Old Index