info: Fix build on Windows ARM64 device

gstinfo.c(3086): error C2094: label 'done' was undefined

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/668>
This commit is contained in:
Seungha Yang 2020-10-07 03:49:33 +09:00 committed by GStreamer Merge Bot
parent 11e16ee62f
commit 41eaa6bf42

View file

@ -3061,8 +3061,6 @@ generate_dbghelp_trace (void)
if (!dbghelp_initialize_symbols (process)) if (!dbghelp_initialize_symbols (process))
return NULL; return NULL;
trace = g_string_new (NULL);
memset (&context, 0, sizeof (CONTEXT)); memset (&context, 0, sizeof (CONTEXT));
context.ContextFlags = CONTEXT_FULL; context.ContextFlags = CONTEXT_FULL;
@ -3083,9 +3081,11 @@ generate_dbghelp_trace (void)
frame.AddrPC.Offset = context.Rip; frame.AddrPC.Offset = context.Rip;
frame.AddrStack.Offset = context.Rsp; frame.AddrStack.Offset = context.Rsp;
#else #else
goto done; return NULL;
#endif #endif
trace = g_string_new (NULL);
module_info.SizeOfStruct = sizeof (module_info); module_info.SizeOfStruct = sizeof (module_info);
save_context = (machine == IMAGE_FILE_MACHINE_I386) ? NULL : &context; save_context = (machine == IMAGE_FILE_MACHINE_I386) ? NULL : &context;