Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/landisk/stand/boot PR 51193 David Binderman: simpli...
details: https://anonhg.NetBSD.org/src/rev/f422a9840f86
branches: trunk
changeset: 345521:f422a9840f86
user: dholland <dholland%NetBSD.org@localhost>
date: Tue May 31 04:05:50 2016 +0000
description:
PR 51193 David Binderman: simplify redundant conditional.
diffstat:
sys/arch/landisk/stand/boot/boot2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9221ca4b5e25 -r f422a9840f86 sys/arch/landisk/stand/boot/boot2.c
--- a/sys/arch/landisk/stand/boot/boot2.c Tue May 31 04:05:01 2016 +0000
+++ b/sys/arch/landisk/stand/boot/boot2.c Tue May 31 04:05:50 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot2.c,v 1.4 2014/03/26 17:47:10 christos Exp $ */
+/* $NetBSD: boot2.c,v 1.5 2016/05/31 04:05:50 dholland Exp $ */
/*
* Copyright (c) 2003
@@ -442,7 +442,7 @@
*options++ = '\0';
/* trim leading blanks */
- while (*options && *options == ' ')
+ while (*options == ' ')
options++;
return (options);
Home |
Main Index |
Thread Index |
Old Index