From 944b9ea7a7d880bb22ec2d0f18c8f58429206e43 Mon Sep 17 00:00:00 2001 From: Dustin Morrill Date: Sat, 24 Aug 2013 14:32:28 -0600 Subject: [PATCH] Resolved gcc compiler warning Resolved warning that the address of `PrevFrame` will always evaluate to `true`. --- lib/CException.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CException.h b/lib/CException.h index fa7439c..ace4cd2 100644 --- a/lib/CException.h +++ b/lib/CException.h @@ -62,7 +62,7 @@ extern volatile CEXCEPTION_FRAME_T CExceptionFrames[]; CExceptionFrames[MY_ID].pFrame = (jmp_buf*)(&NewFrame); \ CExceptionFrames[MY_ID].Exception = CEXCEPTION_NONE; \ if (setjmp(NewFrame) == 0) { \ - if (&PrevFrame) + if (1) //Catch (see C file for explanation) #define Catch(e) \