diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-01-16 20:52:36 -0800 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-01-16 20:52:47 -0800 |
commit | 5816690643b28c606b63ae4bcd7429e53ef47316 (patch) | |
tree | de9ad2d64ec669ff6fb5fb163506c79383e89410 /simplify.c | |
parent | Update usage chain for dead instructions (diff) | |
download | sparse-5816690643b28c606b63ae4bcd7429e53ef47316.tar.gz sparse-5816690643b28c606b63ae4bcd7429e53ef47316.tar.bz2 sparse-5816690643b28c606b63ae4bcd7429e53ef47316.zip |
Add a return in the last case of a switch; redundant but less error-prone.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'simplify.c')
-rw-r--r-- | simplify.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -222,6 +222,7 @@ void kill_instruction(struct instruction *insn) repeat_phase |= REPEAT_CSE; if (insn->cond) kill_use(&insn->cond); + return; } } |