projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a75829
)
preproc.c - remove redundant assignment
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Sat, 11 Jul 2009 13:31:21 +0000
(17:31 +0400)
committer
Cyrill Gorcunov
<gorcunov@gmail.com>
Mon, 20 Jul 2009 13:59:00 +0000
(17:59 +0400)
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>
preproc.c
patch
|
blob
|
history
diff --git
a/preproc.c
b/preproc.c
index 736bbff9bf88b9b164b64ee346e882585a8affcd..feccc33ac2ff30920906319ce1c6ed82c49c98c0 100644
(file)
--- 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);