mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +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
1 changed files with 7 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue