[Nasm-commits] [nasm:extnames] asm/directiv.c: remove unnecessary call to nasm_skip_spaces()

nasm-bot for H. Peter Anvin (Intel) hpa at zytor.com
Thu Jun 4 19:56:43 PDT 2020


Commit-ID:  7603a4ef2343b3a73766f56d340acc7b0532ed01
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=7603a4ef2343b3a73766f56d340acc7b0532ed01
Author:     H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Mon, 25 Jun 2018 21:10:03 -0700
Committer:  H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Mon, 25 Jun 2018 21:10:03 -0700

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 at zytor.com>


---
 asm/directiv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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, ':');
         }
 


More information about the Nasm-commits mailing list