mirror of
https://github.com/throwtheswitch/cexception.git
synced 2026-06-06 05:34:41 +00:00
Resolved gcc compiler warning
Resolved warning that the address of `PrevFrame` will always evaluate to `true`.
This commit is contained in:
+1
-1
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user