diff options
author | billf <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
commit | 4822432874e997891c75df8d30dcab4c52d1a9fa (patch) | |
tree | 6a75551fe39c6d09c4b5991bbb0a4f3d685835fe /usr.bin/hexdump | |
parent | 7c7c72da3801ba6f43e728ff5145b4988674abeb (diff) | |
download | FreeBSD-src-4822432874e997891c75df8d30dcab4c52d1a9fa.zip FreeBSD-src-4822432874e997891c75df8d30dcab4c52d1a9fa.tar.gz |
Clean up some ambiguous nested if/elses.
Diffstat (limited to 'usr.bin/hexdump')
-rw-r--r-- | usr.bin/hexdump/odsyntax.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/hexdump/odsyntax.c b/usr.bin/hexdump/odsyntax.c index 7ad7c37..7636ab8 100644 --- a/usr.bin/hexdump/odsyntax.c +++ b/usr.bin/hexdump/odsyntax.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)odsyntax.c 8.2 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id: odsyntax.c,v 1.5 1997/07/10 06:48:21 charnier Exp $"; + "$Id: odsyntax.c,v 1.6 1997/11/04 05:33:14 ache Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -222,7 +222,7 @@ odoffset(argc, argvp) return; } - if (*p) + if (*p) { if (*p == 'B') { skip *= 1024; ++p; @@ -230,6 +230,7 @@ odoffset(argc, argvp) skip *= 512; ++p; } + } if (*p) { skip = 0; |