diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-03-21 20:45:41 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-06-16 06:31:26 +0200 |
| commit | 1d56c2e9dc70bf46b0224078aec865b0355f51ba (patch) | |
| tree | 32cc084b4be69d7324a5e4a6da1f539e5f885f7d /validation/optim | |
| parent | 5a0840b711e7f4d6fd2fd4a6f34324ba7fd71649 (diff) | |
| download | sparse-dev-1d56c2e9dc70bf46b0224078aec865b0355f51ba.tar.gz | |
testsuite: fix missing return
Some non-void functions in the testcases miss a return.
Add the missing return or make the function as returning void.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
| -rw-r--r-- | validation/optim/dup-cond0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/validation/optim/dup-cond0.c b/validation/optim/dup-cond0.c index 0525250c..26af4385 100644 --- a/validation/optim/dup-cond0.c +++ b/validation/optim/dup-cond0.c @@ -8,6 +8,7 @@ static int foo(struct s *s) return 0; else if (!s->f) return 4; + return -1; } /* |
