[llvm-commits] [compiler-rt] r144753 - /compiler-rt/trunk/lib/gcc_personality_v0.c

Daniel Dunbar daniel at zuster.org
Tue Nov 15 17:19:29 PST 2011


Author: ddunbar
Date: Tue Nov 15 19:19:29 2011
New Revision: 144753

URL: http://llvm.org/viewvc/llvm-project?rev=144753&view=rev
Log:
lib/gcc_personality_v0: Remove an unnecessary include.

Modified:
    compiler-rt/trunk/lib/gcc_personality_v0.c

Modified: compiler-rt/trunk/lib/gcc_personality_v0.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/gcc_personality_v0.c?rev=144753&r1=144752&r2=144753&view=diff
==============================================================================
--- compiler-rt/trunk/lib/gcc_personality_v0.c (original)
+++ compiler-rt/trunk/lib/gcc_personality_v0.c Tue Nov 15 19:19:29 2011
@@ -9,8 +9,6 @@
  *
  */
 
-#include <stdio.h>
-
 #include "int_lib.h"
 
 /*
@@ -200,7 +198,7 @@
         
     /* 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;





More information about the llvm-commits mailing list