From 22ad9043410c17c912cc026680fe8f68258f858e Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 15 Feb 2013 02:20:26 +0400 Subject: [PATCH] nasm.c: Tabs to spaces in nasm_verror_common Signed-off-by: Cyrill Gorcunov --- nasm.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/nasm.c b/nasm.c index f231b306..6d8163df 100644 --- a/nasm.c +++ b/nasm.c @@ -1953,8 +1953,8 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args) pfx = "debug: "; break; default: - pfx = ""; - break; + pfx = ""; + break; } vsnprintf(msg, sizeof msg, fmt, args); @@ -1962,7 +1962,7 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args) fprintf(error_file, "%s%s\n", pfx, msg); if (*listname) - nasmlist.error(severity, pfx, msg); + nasmlist.error(severity, pfx, msg); if (severity & ERR_USAGE) want_usage = true; @@ -1972,10 +1972,10 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args) /* no further action, by definition */ break; case ERR_WARNING: - /* Treat warnings as errors */ - if (warning_on[WARN_IDX(ERR_WARN_TERM)]) - terminate_after_phase = true; - break; + /* Treat warnings as errors */ + if (warning_on[WARN_IDX(ERR_WARN_TERM)]) + terminate_after_phase = true; + break; case ERR_NONFATAL: terminate_after_phase = true; break; @@ -1983,7 +1983,7 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args) if (ofile) { fclose(ofile); remove(outname); - ofile = NULL; + ofile = NULL; } if (want_usage) usage(); @@ -1991,7 +1991,7 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args) break; /* placate silly compilers */ case ERR_PANIC: fflush(NULL); - /* abort(); *//* halt, catch fire, and dump core */ + /* abort(); */ /* halt, catch fire, and dump core */ exit(3); break; }