Date: Thu, 27 Nov 2014 18:43:44 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r275191 - head/sys/boot/i386/boot2 Message-ID: <201411271843.sARIhiIr087630@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rdivacky Date: Thu Nov 27 18:43:44 2014 New Revision: 275191 URL: https://svnweb.freebsd.org/changeset/base/275191 Log: Revert part of r275059. Comparing unsigned 8 bit value against -'0' is always false so the conditional block is optimized away. Modified: head/sys/boot/i386/boot2/boot2.c Modified: head/sys/boot/i386/boot2/boot2.c ============================================================================== --- head/sys/boot/i386/boot2/boot2.c Thu Nov 27 18:41:14 2014 (r275190) +++ head/sys/boot/i386/boot2/boot2.c Thu Nov 27 18:43:44 2014 (r275191) @@ -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')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411271843.sARIhiIr087630>