summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/gcc_personality_v0.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler-rt/lib/gcc_personality_v0.c b/compiler-rt/lib/gcc_personality_v0.c
index c04c3ac053c..8a708cae597 100644
--- a/compiler-rt/lib/gcc_personality_v0.c
+++ b/compiler-rt/lib/gcc_personality_v0.c
@@ -9,8 +9,6 @@
*
*/
-#include <stdio.h>
-
#include "int_lib.h"
/*
@@ -200,7 +198,7 @@ _Unwind_Reason_Code __gcc_personality_v0(int version, _Unwind_Action actions,
/* There is nothing to do if there is no LSDA for this frame. */
const uint8_t* lsda = _Unwind_GetLanguageSpecificData(context);
- if ( lsda == NULL )
+ if ( lsda == (uint8_t*) 0 )
return _URC_CONTINUE_UNWIND;
uintptr_t pc = _Unwind_GetIP(context)-1;
OpenPOWER on IntegriCloud