From 599e58bfefe7263a11a0a04a4086b8caa5bd862c Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 28 Aug 2016 21:26:55 +0000 Subject: [PATCH] Satisfy warning: this 'if' clause does not guard... [-Wmisleading-indentation] DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5843 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/config.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/build/src/config.c b/polymer/eduke32/build/src/config.c index b3be46e87..951d05efc 100644 --- a/polymer/eduke32/build/src/config.c +++ b/polymer/eduke32/build/src/config.c @@ -268,11 +268,13 @@ int32_t loadsetup(const char *fn) while (*p) { if (!sscanf(p,"%x",&v1))break; - if ((p=strchr(p,'-'))==0)break; p++; + if ((p=strchr(p,'-'))==0)break; + p++; if (!sscanf(p,"%x",&v2))break; keyremap[v1]=v2; initprintf("Remap %X key to %X\n",v1,v2); - if ((p=strchr(p,','))==0)break; p++; + if ((p=strchr(p,','))==0)break; + p++; } }