From f0eb45df5e3f59991102b2228a62d15baa397b59 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 9 Oct 2012 17:01:14 +0200 Subject: fix some lousy formatting that triggers warnings from the compiler plugin Change-Id: I94cafba5363f24d608add6878c72f230f45fdb87 --- soltools/mkdepend/parse.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'soltools/mkdepend/parse.c') diff --git a/soltools/mkdepend/parse.c b/soltools/mkdepend/parse.c index 939155aa3b83..0914fbc57ede 100644 --- a/soltools/mkdepend/parse.c +++ b/soltools/mkdepend/parse.c @@ -70,11 +70,9 @@ int find_includes(struct filepointer *filep, struct inclist *file, struct inclis if (type == ELSE) find_includes(filep, file, file_red, recursion+1, recfailOK, incCollection, symbols); - else - if (type == ELIF) + else if (type == ELIF) goto doif; - else - if ((type == ELIFFALSE) || (type == ELIFGUESSFALSE)) + else if ((type == ELIFFALSE) || (type == ELIFGUESSFALSE)) goto doiffalse; break; case IFDEF: @@ -398,14 +396,14 @@ void define( def, symbols ) /* Separate symbol name and its value */ val = def; while (isalnum(*val) || *val == '_') - val++; + val++; if (*val) - *val++ = '\0'; + *val++ = '\0'; while (*val == ' ' || *val == '\t') - val++; + val++; if (!*val) - val = "1"; + val = "1"; hash_define( def, val, symbols ); } -- cgit