summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-04-20 14:53:44 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2010-04-21 01:06:27 +0400
commit66206e7bd890581b49018b84471c84aef345810c (patch)
tree7f1153e0f4489667f64e6c0fbbc9e47be132d093 /nasm.c
parentba3c0513dd5cf502ed9309110524bb7dc0b500f3 (diff)
downloadnasm-66206e7bd890581b49018b84471c84aef345810c.tar.gz
nasm-66206e7bd890581b49018b84471c84aef345810c.tar.bz2
nasm-66206e7bd890581b49018b84471c84aef345810c.zip
nasm.c: Delete redundant goto
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'nasm.c')
-rw-r--r--nasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nasm.c b/nasm.c
index 867d5ec..a1ff56c 100644
--- a/nasm.c
+++ b/nasm.c
@@ -849,8 +849,8 @@ static bool process_arg(char *p, char *q)
}
do_warn = (param[0] == '+');
param++;
- goto set_warning;
- set_warning:
+
+set_warning:
for (i = 0; i <= ERR_WARN_MAX; i++)
if (!nasm_stricmp(param, warnings[i].name))
break;