summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-11-07 01:09:36 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2010-11-07 01:09:36 +0300
commit2672af737954fb17ec0ebf17e787219a504c4400 (patch)
tree4ab7e1ac266a7eb4179ebf7dc408145b758f9671
parent1a824c21829f95c717b789647b195443df29c5c2 (diff)
downloadnasm-2672af737954fb17ec0ebf17e787219a504c4400.tar.gz
coff: Cover 'else' with cond compilation
It was a nit in first place. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--output/outcoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outcoff.c b/output/outcoff.c
index 21a822f2..5c1de013 100644
--- a/output/outcoff.c
+++ b/output/outcoff.c
@@ -842,8 +842,8 @@ static inline void coff_adjust_relocs(struct Section *s)
{
if (s->nrelocs < IMAGE_SCN_MAX_RELOC)
return;
- else
#ifdef OF_COFF
+ else
{
if (ofmt == &of_coff)
nasm_error(ERR_FATAL,