summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2018-06-25 21:10:03 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2018-06-25 21:10:03 -0700
commit7603a4ef2343b3a73766f56d340acc7b0532ed01 (patch)
treea36cbf11a9111449b7f953864b5a3923bc3ec3e8
parentbc7c4aba2a3ab304eea6cecc26cbd2b2fefc407a (diff)
downloadnasm-7603a4ef2343b3a73766f56d340acc7b0532ed01.tar.gz
asm/directiv.c: remove unnecessary call to nasm_skip_spaces()
We have just make sure nasm_skip_spaces() was called right above it. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r--asm/directiv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/directiv.c b/asm/directiv.c
index 193951ca..1d3de141 100644
--- a/asm/directiv.c
+++ b/asm/directiv.c
@@ -353,7 +353,7 @@ bool process_directives(char *directive)
}
if (*q && *q != ':') {
- sizestr = q = nasm_skip_spaces(q);
+ sizestr = q;
q = strchr(q, ':');
}