diff options
Diffstat (limited to 'src/wrapped/wrappedlibpthread.c')
| -rwxr-xr-x | src/wrapped/wrappedlibpthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibpthread.c b/src/wrapped/wrappedlibpthread.c index d9b81d5b..d29218ed 100755 --- a/src/wrapped/wrappedlibpthread.c +++ b/src/wrapped/wrappedlibpthread.c @@ -61,6 +61,7 @@ const char* libpthreadName = "libpthread.so.0"; EXPORT int32_t my_pthread_atfork(x64emu_t *emu, void* prepare, void* parent, void* child) { + (void)emu; // this is partly incorrect, because the emulated functions should be executed by actual fork and not by my_atfork... if(my_context->atfork_sz==my_context->atfork_cap) { my_context->atfork_cap += 4; @@ -82,4 +83,3 @@ EXPORT void my___pthread_initialize() } #include "wrappedlib_init.h" - |