summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2009-07-11 17:31:21 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2009-07-20 17:59:00 +0400
commit10b4a18d7fc51f7d83e7b45855730c7451e2fff1 (patch)
treedd422fe100c4011d720094125dc876a077cf36d9
parent2a7582945217354eff08e6ca6d4b54e590eb516c (diff)
downloadnasm-10b4a18d7fc51f7d83e7b45855730c7451e2fff1.tar.gz
preproc.c - remove redundant assignment
There is no need for tline assignment right before it'll be assigned again in for() cycle. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--preproc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/preproc.c b/preproc.c
index 736bbff9..feccc33a 100644
--- a/preproc.c
+++ b/preproc.c
@@ -3211,7 +3211,6 @@ static int do_directive(Token * tline)
}
p = pp = nasm_malloc(len);
- t = tline;
for (t = tline; t; t = t->next) {
if (t->type == TOK_STRING) {
memcpy(p, t->text, t->a.len);