validation: update a couple scripts with missing break statements
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 15 Jan 2013 14:09:23 +0000 (15 17:09 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 15 Jan 2013 14:09:23 +0000 (15 17:09 +0300)
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
validation/sm_switch.c
validation/sm_switch2.c

index 37bf2cb..e267d32 100644 (file)
@@ -52,6 +52,7 @@ void func (void)
  * check-known-to-fail
  *
  * check-output-start
+sm_switch.c:38 func() warn: missing break? reassigning 'a->a'
 sm_switch.c:38 func() error: potential NULL dereference 'a'.
 sm_switch.c:39 func() error: potential NULL dereference 'b'.
  * check-output-end
index 953e270..92ba4ef 100644 (file)
@@ -44,6 +44,7 @@ void func (void)
  * check-command: smatch sm_switch2.c
  *
  * check-output-start
+sm_switch2.c:31 func() warn: missing break? reassigning 'a->a'
 sm_switch2.c:31 func() error: potential NULL dereference 'a'.
 sm_switch2.c:32 func() error: potential NULL dereference 'b'.
  * check-output-end