Skip to content
Snippets Groups Projects
Commit 0f9b4eef authored by Simon McVittie's avatar Simon McVittie
Browse files

pv-wrap: Remove redundant reinitialization of SrtSystemInfo


Instantiating this can't fail, and if it somehow does, trying it again
is unlikely to help.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent bcdfdab8
No related branches found
No related tags found
1 merge request!781Test coverage and refactoring in preparation for steamrt/tasks#595
...@@ -712,9 +712,6 @@ append_preload_per_architecture (GPtrArray *argv, ...@@ -712,9 +712,6 @@ append_preload_per_architecture (GPtrArray *argv,
g_autoptr(SrtSystemInfo) system_info = srt_system_info_new (NULL); g_autoptr(SrtSystemInfo) system_info = srt_system_info_new (NULL);
gsize i; gsize i;
if (system_info == NULL)
system_info = srt_system_info_new (NULL);
for (i = 0; i < PV_N_SUPPORTED_ARCHITECTURES; i++) for (i = 0; i < PV_N_SUPPORTED_ARCHITECTURES; i++)
{ {
g_autoptr(GString) mock_path = NULL; g_autoptr(GString) mock_path = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment