aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-12-15 16:29:15 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-12-15 17:12:08 +0100
commitf934193608415cff796694b5500f95e7b2e0fd17 (patch)
treefe30edf66c129e827549567a34b91080cead343f
parent3243829828c3052efa55fc866e46c4c8d23b4400 (diff)
downloadsparse-f934193608415cff796694b5500f95e7b2e0fd17.tar.gz
testcase: remove trailing ';' in commands
Two testcases had their command wrongly terminated by ';'. Fix this by removing this ';'. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--validation/c11-atomic.c2
-rw-r--r--validation/restrict.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/validation/c11-atomic.c b/validation/c11-atomic.c
index e87d06cd..fc2c27ae 100644
--- a/validation/c11-atomic.c
+++ b/validation/c11-atomic.c
@@ -66,7 +66,7 @@ void baz(void)
/*
* check-name: C11 _Atomic type qualifier
- * check-command: sparse -Wno-decl $file;
+ * check-command: sparse -Wno-decl $file
*
* check-error-start
c11-atomic.c:11:6: error: symbol 'f02' redeclared with different type (originally declared at c11-atomic.c:3) - incompatible argument 1 (different modifiers)
diff --git a/validation/restrict.c b/validation/restrict.c
index 92bfdae8..80c437b0 100644
--- a/validation/restrict.c
+++ b/validation/restrict.c
@@ -66,7 +66,7 @@ void baz(void)
/*
* check-name: restrict qualifier
- * check-command: sparse -Wno-decl $file;
+ * check-command: sparse -Wno-decl $file
*
* check-error-start
restrict.c:11:6: error: symbol 'f02' redeclared with different type (originally declared at restrict.c:3) - incompatible argument 1 (different modifiers)