diff options
author | Sami Kerola <kerolasa@iki.fi> | 2013-09-02 22:30:47 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-09-04 01:51:20 +0200 |
commit | 8a72761743d746ed0a9b8b1201672e8ea0b8af4d (patch) | |
tree | 1bd3d2cd1032e3c52d39f3db91627afee776c9a8 /contrib/pacdiff.sh.in | |
parent | a86015f73fdda878287a2ad21011594862bf506a (diff) | |
download | pacman-8a72761743d746ed0a9b8b1201672e8ea0b8af4d.tar.gz pacman-8a72761743d746ed0a9b8b1201672e8ea0b8af4d.tar.xz |
pacman/util.c: use switch when there are fall through statements
An 'if' clause with empty statement is allowed, but unusual construct.
When 'if' is used this way the statement should at least have orphan
semicolon ';'. For empty statements 'switch' feels like a native way
express what is meant.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
[Allan] Keep comment
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib/pacdiff.sh.in')
0 files changed, 0 insertions, 0 deletions