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/662>
This commit is contained in:
Seungha Yang 2020-10-07 03:49:33 +09:00 committed by GStreamer Merge Bot
parent e4567b2dbd
commit 271af223b7

View file

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