mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
backtrace: Fix compiler warning on Windows
This change avoids a "variable 'got' might be clobbered by 'longjmp' or 'vfork'" warning with -Wextra.
This commit is contained in:
parent
d759bd9efa
commit
574bfad1c0
@ -870,7 +870,7 @@ static inline int backtrace_win(void **frames, int count)
|
||||
HANDLE process, thread;
|
||||
DWORD machine;
|
||||
CONTEXT context;
|
||||
int got = 0;
|
||||
volatile int got = 0;
|
||||
|
||||
memset(&frame, 0, sizeof(frame));
|
||||
memset(&context, 0, sizeof(context));
|
||||
|
Loading…
x
Reference in New Issue
Block a user