Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/stand/libsa PR 51194 David Binderman: simplify...



details:   https://anonhg.NetBSD.org/src/rev/2ef296b1267a
branches:  trunk
changeset: 815664:2ef296b1267a
user:      dholland <dholland%NetBSD.org@localhost>
date:      Tue May 31 04:12:10 2016 +0000

description:
PR 51194 David Binderman: simplify redundant conditional

diffstat:

 sys/arch/x68k/stand/libsa/parseutils.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 389eeea6b0cb -r 2ef296b1267a sys/arch/x68k/stand/libsa/parseutils.c
--- a/sys/arch/x68k/stand/libsa/parseutils.c    Tue May 31 04:05:50 2016 +0000
+++ b/sys/arch/x68k/stand/libsa/parseutils.c    Tue May 31 04:12:10 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parseutils.c,v 1.2 2007/11/11 05:20:27 isaki Exp $     */
+/*     $NetBSD: parseutils.c,v 1.3 2016/05/31 04:12:10 dholland Exp $  */
 
 /*
  *     from /sys/arch/i386/lib/parseutils.c
@@ -64,7 +64,7 @@
                *options++ = '\0';
 
        /* trim leading blanks */
-       while (*options && *options == ' ')
+       while (*options == ' ')
                options++;
 
        return options;



Home | Main Index | Thread Index | Old Index