Switched from warning to error. Tightened the testcase.

This commit is contained in:
laubzega
2018-09-23 16:22:59 -07:00
committed by Oliver Schmidt
parent 7a5acaf39a
commit a48bbc4be0
4 changed files with 9 additions and 10 deletions

View File

@@ -1,7 +1,6 @@
goto.c(34): Warning: Goto from line 29 to label 'bad' can result in a trashed stack
goto.c(40): Warning: Goto from line 18 to label 'unsafe' can result in a trashed stack
goto.c(42): Warning: Goto from line 42 to label 'another' can result in a trashed stack
goto.c(47): Warning: Goto from line 47 to label 'bad' can result in a trashed stack
goto.c(56): Warning: Goto from line 38 to label 'finish' can result in a trashed stack
goto.c(34): Error: Goto from line 29 to label 'bad' can result in a trashed stack
goto.c(40): Error: Goto from line 18 to label 'unsafe' can result in a trashed stack
goto.c(42): Error: Goto from line 42 to label 'another' can result in a trashed stack
goto.c(47): Error: Goto from line 47 to label 'bad' can result in a trashed stack
goto.c(56): Error: Goto from line 38 to label 'finish' can result in a trashed stack
goto.c(58): Warning: `unused' is defined but never used
goto.c(65): Warning: Control reaches end of non-void function