Module Name: src
Committed By: dholland
Date: Tue May 31 04:05:50 UTC 2016
Modified Files:
src/sys/arch/landisk/stand/boot: boot2.c
Log Message:
PR 51193 David Binderman: simplify redundant conditional.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/landisk/stand/boot/boot2.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/landisk/stand/boot/boot2.c
diff -u src/sys/arch/landisk/stand/boot/boot2.c:1.4 src/sys/arch/landisk/stand/boot/boot2.c:1.5
--- src/sys/arch/landisk/stand/boot/boot2.c:1.4 Wed Mar 26 17:47:10 2014
+++ src/sys/arch/landisk/stand/boot/boot2.c Tue May 31 04:05:50 2016
@@ -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 @@ gettrailer(char *arg)
*options++ = '\0';
/* trim leading blanks */
- while (*options && *options == ' ')
+ while (*options == ' ')
options++;
return (options);