diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2014-11-27 18:43:44 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2014-11-27 18:43:44 +0000 |
commit | 50fd85b21cc1520575b04bfc8a5671fe07072c53 (patch) | |
tree | 1564d7c7e97a826a1af1f8bf96cb1e1e25cb0002 /sys/boot | |
parent | 2d64995d172f71f538c559d1648a7063ab7ad643 (diff) | |
download | FreeBSD-src-50fd85b21cc1520575b04bfc8a5671fe07072c53.zip FreeBSD-src-50fd85b21cc1520575b04bfc8a5671fe07072c53.tar.gz |
Revert part of r275059. Comparing unsigned 8 bit value
against -'0' is always false so the conditional block is
optimized away.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/i386/boot2/boot2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/boot/i386/boot2/boot2.c b/sys/boot/i386/boot2/boot2.c index df23a82..4e1a835 100644 --- a/sys/boot/i386/boot2/boot2.c +++ b/sys/boot/i386/boot2/boot2.c @@ -394,9 +394,8 @@ parse() char *ep, *p, *q; const char *cp; unsigned int drv; - int c, j; + int c, i, j; size_t k; - uint8_t i; while ((c = *arg++)) { if (c == ' ' || c == '\t' || c == '\n') |