Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ews4800mips/stand/common PR 51182 David Binderman: ...



details:   https://anonhg.NetBSD.org/src/rev/45e928e59bed
branches:  trunk
changeset: 345468:45e928e59bed
user:      dholland <dholland%NetBSD.org@localhost>
date:      Mon May 30 02:30:20 2016 +0000

description:
PR 51182 David Binderman: fix redundant conditional

diffstat:

 sys/arch/ews4800mips/stand/common/cmd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e027d72a33cc -r 45e928e59bed sys/arch/ews4800mips/stand/common/cmd.c
--- a/sys/arch/ews4800mips/stand/common/cmd.c   Sun May 29 22:41:54 2016 +0000
+++ b/sys/arch/ews4800mips/stand/common/cmd.c   Mon May 30 02:30:20 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cmd.c,v 1.2 2008/04/28 20:23:18 martin Exp $   */
+/*     $NetBSD: cmd.c,v 1.3 2016/05/30 02:30:20 dholland Exp $ */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -99,7 +99,7 @@
                if (*p == ' ') {
                        *p = 0;
                        sep = 1;
-               } else if (sep && (*p != ' ' || *p == '\0')) {
+               } else if (sep) {
                        sep = 0;
                        argp[argc++] = p;
                }



Home | Main Index | Thread Index | Old Index