commit 57ed804790202655d6ab2ee8f2dd3a6aac75b9b5
parent b5557403903f5e92a35ae7505ae38f345f5d29b2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Tue, 26 May 2015 09:48:39 +0200
Remove redundant returns in cpp.c
These returns were there because in the past these functions
were bool functions, but it is a non sense now.
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/cc1/cpp.c b/cc1/cpp.c
@@ -377,7 +377,6 @@ define(char *s)
for (t = s + strlen(s) + 1; isspace(*--t); *t = '\0')
/* nothing */;
sym->u.s = mkdefine(s);
- return;
}
static void
@@ -459,7 +458,6 @@ pragma(char *s)
{
if (cppoff)
return;
- return;
}
static void
@@ -486,8 +484,6 @@ ifclause(char *s, int isdef)
sym = lookup(NS_CPP);
if (!(ifstatus[n] = (sym->flags & ISDEFINED) != 0 == isdef))
++cppoff;
-
- return;
}
static void
@@ -510,7 +506,6 @@ endif(char *s)
cleanup(s);
if (!ifstatus[--numif])
--cppoff;
- return;
}
static void