Module Name: src
Committed By: dholland
Date: Mon May 30 02:36:37 UTC 2016
Modified Files:
src/sys/arch/amiga/stand/binpatch: binpatch.c
Log Message:
PR 51185 David Binderman: simplify redundant conditional
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/amiga/stand/binpatch/binpatch.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/amiga/stand/binpatch/binpatch.c
diff -u src/sys/arch/amiga/stand/binpatch/binpatch.c:1.11 src/sys/arch/amiga/stand/binpatch/binpatch.c:1.12
--- src/sys/arch/amiga/stand/binpatch/binpatch.c:1.11 Tue Jun 27 10:53:11 2006
+++ src/sys/arch/amiga/stand/binpatch/binpatch.c Mon May 30 02:36:37 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: binpatch.c,v 1.11 2006/06/27 10:53:11 tsutsui Exp $ */
+/* $NetBSD: binpatch.c,v 1.12 2016/05/30 02:36:37 dholland Exp $ */
/* Author: Markus Wild [email protected] ??? */
/* Modified: Rob Leland [email protected] */
@@ -403,7 +403,7 @@ static u_long FindAssign(char *symbol,u_
{
int nscan; /* number of variaables scanned in */
/* get the number to assign to symbol and strip off = */
- for (cn=ce + 1;((*cn==' ')&&(*cn!='\0'));cn++)
+ for (cn=ce + 1; *cn==' '; cn++)
;
if (! strncmp (cn, "0x", 2))
nscan = sscanf (cn, "%x",rvalue);