From 24534ed7caa225dce63f3603d2a40ecaba888764 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Fri, 25 Sep 2020 14:52:19 +0100 Subject: [PATCH] graphics: Fix shadowing Signed-off-by: Simon McVittie <smcv@collabora.com> --- steam-runtime-tools/graphics.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/steam-runtime-tools/graphics.c b/steam-runtime-tools/graphics.c index 8eeb5c657..d51359704 100644 --- a/steam-runtime-tools/graphics.c +++ b/steam-runtime-tools/graphics.c @@ -3170,7 +3170,7 @@ _srt_list_modules_from_directory (gchar **envp, { int exit_status = -1; GError *error = NULL; - gchar *stderr = NULL; + gchar *stderr_output = NULL; gchar *output = NULL; GDir *dir_iter = NULL; GPtrArray *members = NULL; @@ -3193,7 +3193,7 @@ _srt_list_modules_from_directory (gchar **envp, _srt_child_setup_unblock_signals, NULL, /* user data */ &output, /* stdout */ - &stderr, + &stderr_output, &exit_status, &error)) { @@ -3294,7 +3294,7 @@ out: g_dir_close (dir_iter); g_clear_pointer (&members, g_ptr_array_unref); g_free (output); - g_free (stderr); + g_free (stderr_output); g_clear_error (&error); } -- GitLab