mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 17:40:58 +00:00
modified include/reactos/libs/pseh/pseh2.h
Kill the last few remaining "'x' may be used uninitialized in this function" warnings. I'd love to know the opinion of GCC developers on what does this hack do to their compiler and why svn path=/trunk/; revision=37319
This commit is contained in:
parent
e7584f9a3e
commit
e9ac5bacb8
|
@ -234,8 +234,6 @@ _SEHTryLevel_t;
|
|||
__SEH_BEGIN_SCOPE \
|
||||
{ \
|
||||
__SEH_SCOPE_LOCALS; \
|
||||
\
|
||||
void _SEHJumpToHandler() { goto _SEHBeginExcept; } \
|
||||
\
|
||||
__SEH_BEGIN_TRY \
|
||||
{
|
||||
|
@ -327,6 +325,7 @@ _SEHTryLevel_t;
|
|||
{ \
|
||||
{ \
|
||||
_SEHFrame_t * const _SEHFrameP = _SEHTopTryLevel ? &_SEHFrame : _SEHCurFrameP; \
|
||||
(void)_SEHFrameP; \
|
||||
__SEH_BARRIER;
|
||||
|
||||
#define _SEH2_END \
|
||||
|
@ -334,6 +333,12 @@ _SEHTryLevel_t;
|
|||
} \
|
||||
} \
|
||||
_SEHEndExcept: __SEH_SIDE_EFFECT; \
|
||||
\
|
||||
void _SEHJumpToHandler() \
|
||||
{ \
|
||||
if(_SEHFrameP == (_SEHTopTryLevel ? &_SEHFrame : _SEHCurFrameP) && _SEHPrevTryLevelP == _SEHTryLevelP) \
|
||||
goto _SEHBeginExcept; \
|
||||
} \
|
||||
} \
|
||||
__SEH_END_SCOPE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue