[hackers] [scc] getdefs: remove statement with no effect || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Fri, 17 Jul 2015 23:03:08 +0200 (CEST)

commit fb52401a1d119fd02590755c6fd5173ac65210b2
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Fri Jul 17 21:31:41 2015 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Fri Jul 17 22:34:35 2015 +0200

    getdefs: remove statement with no effect

diff --git a/cc1/cpp.c b/cc1/cpp.c
index 5264274..e8894f0 100644
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
_AT_@ -296,10 +296,8 @@ getdefs(Symbol *args[NR_MACROARG], int nargs, char *bp, size_t bufsiz)
                 memcpy(bp, yytext, len);
                 bp += len;
                 bufsiz -= len;
- if ((prevc = yytoken) != '#') {
- bufsiz;
+ if ((prevc = yytoken) != '#')
                         *bp++ = ' ';
- }
                 next();
         }
         *bp = '\0';
Received on Fri Jul 17 2015 - 23:03:08 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 17 2015 - 23:12:15 CEST