Commit 271af223 authored by Seungha Yang's avatar Seungha Yang 🐑 Committed by GStreamer Marge Bot

info: Fix build on Windows ARM64 device

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

Part-of: <gstreamer/gstreamer!662>
parent e4567b2d
......@@ -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;
goto done;
return NULL;
trace = g_string_new (NULL);
module_info.SizeOfStruct = sizeof (module_info);
save_context = (machine == IMAGE_FILE_MACHINE_I386) ? NULL : &context;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment