summaryrefslogtreecommitdiff
path: root/ecomp-c/asm-i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-c/asm-i386.c')
-rw-r--r--ecomp-c/asm-i386.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ecomp-c/asm-i386.c b/ecomp-c/asm-i386.c
index 9b303c8..61f0ff0 100644
--- a/ecomp-c/asm-i386.c
+++ b/ecomp-c/asm-i386.c
@@ -146,12 +146,12 @@ static void Err( char *s, va_list args )
fflush( stderr );
}
-__attribute__((noreturn)) static void Halt( int code )
+static void Halt( int code )
{
exit( code );
}
-__attribute__((noreturn)) static void Abort( char *s, ... )
+static void Abort( char *s, ... )
{
va_list args;
va_start( args, s );
@@ -1197,6 +1197,7 @@ static int evaluateExpression( ExpressionNode *node, int ORG, int LC )
num = left - right;
break;
default:
+ num = 0; /* make clang happy */
Abort( "Unknown operation '%s' in expression", symname[node->op] );
}
return num;