Skip to content
Snippets Groups Projects
Commit 4f613a08 authored by Ludovico de Nittis's avatar Ludovico de Nittis :palm_tree:
Browse files

tests/system-info-cli.c: remove unused "examples" variable

parent a41cccd0
No related branches found
No related tags found
1 merge request!29tests/system-info-cli.c: remove unused "examples" variable
Pipeline #1361 passed
...@@ -95,7 +95,6 @@ libraries_presence (Fixture *f, ...@@ -95,7 +95,6 @@ libraries_presence (Fixture *f,
JsonObject *json_arch; JsonObject *json_arch;
GError *error = NULL; GError *error = NULL;
gchar *output = NULL; gchar *output = NULL;
gchar *examples = NULL;
SrtSystemInfo *info = srt_system_info_new (NULL); SrtSystemInfo *info = srt_system_info_new (NULL);
gchar *expectations_in = g_build_filename (f->srcdir, "expectations", NULL); gchar *expectations_in = g_build_filename (f->srcdir, "expectations", NULL);
const gchar *argv[] = const gchar *argv[] =
...@@ -148,7 +147,6 @@ libraries_presence (Fixture *f, ...@@ -148,7 +147,6 @@ libraries_presence (Fixture *f,
g_object_unref (parser); g_object_unref (parser);
g_object_unref (info); g_object_unref (info);
g_free (examples);
g_free (expectations_in); g_free (expectations_in);
g_free (output); g_free (output);
g_clear_error (&error); g_clear_error (&error);
...@@ -215,7 +213,6 @@ libraries_missing (Fixture *f, ...@@ -215,7 +213,6 @@ libraries_missing (Fixture *f,
JsonObject *json_arch; JsonObject *json_arch;
GError *error = NULL; GError *error = NULL;
gchar *output = NULL; gchar *output = NULL;
gchar *examples = NULL;
SrtSystemInfo *info = srt_system_info_new (NULL); SrtSystemInfo *info = srt_system_info_new (NULL);
gchar *expectations_in = g_build_filename (f->srcdir, "expectations_with_missings", NULL); gchar *expectations_in = g_build_filename (f->srcdir, "expectations_with_missings", NULL);
const gchar *argv[] = const gchar *argv[] =
...@@ -264,7 +261,6 @@ libraries_missing (Fixture *f, ...@@ -264,7 +261,6 @@ libraries_missing (Fixture *f,
g_object_unref (parser); g_object_unref (parser);
g_object_unref (info); g_object_unref (info);
g_free (examples);
g_free (expectations_in); g_free (expectations_in);
g_free (output); g_free (output);
g_clear_error (&error); g_clear_error (&error);
...@@ -320,7 +316,6 @@ libraries_presence_verbose (Fixture *f, ...@@ -320,7 +316,6 @@ libraries_presence_verbose (Fixture *f,
JsonObject *json_arch; JsonObject *json_arch;
GError *error = NULL; GError *error = NULL;
gchar *output = NULL; gchar *output = NULL;
gchar *examples = NULL;
SrtSystemInfo *info = srt_system_info_new (NULL); SrtSystemInfo *info = srt_system_info_new (NULL);
gchar *expectations_in = g_build_filename (f->srcdir, "expectations", NULL); gchar *expectations_in = g_build_filename (f->srcdir, "expectations", NULL);
const gchar *argv[] = const gchar *argv[] =
...@@ -369,7 +364,6 @@ libraries_presence_verbose (Fixture *f, ...@@ -369,7 +364,6 @@ libraries_presence_verbose (Fixture *f,
g_object_unref (parser); g_object_unref (parser);
g_object_unref (info); g_object_unref (info);
g_free (examples);
g_free (expectations_in); g_free (expectations_in);
g_free (output); g_free (output);
g_clear_error (&error); g_clear_error (&error);
...@@ -389,7 +383,6 @@ no_arguments (Fixture *f, ...@@ -389,7 +383,6 @@ no_arguments (Fixture *f,
JsonObject *json_arch; JsonObject *json_arch;
GError *error = NULL; GError *error = NULL;
gchar *output = NULL; gchar *output = NULL;
gchar *examples = NULL;
SrtSystemInfo *info = srt_system_info_new (NULL); SrtSystemInfo *info = srt_system_info_new (NULL);
gchar *expectations_in = g_build_filename (f->srcdir, "expectations", NULL); gchar *expectations_in = g_build_filename (f->srcdir, "expectations", NULL);
const gchar *argv[] = { "steam-runtime-system-info", NULL }; const gchar *argv[] = { "steam-runtime-system-info", NULL };
...@@ -431,7 +424,6 @@ no_arguments (Fixture *f, ...@@ -431,7 +424,6 @@ no_arguments (Fixture *f,
g_object_unref (parser); g_object_unref (parser);
g_object_unref (info); g_object_unref (info);
g_free (examples);
g_free (expectations_in); g_free (expectations_in);
g_free (output); g_free (output);
g_clear_error (&error); g_clear_error (&error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment