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

system-info: Return the correct value if the assertion fails

parent 37258cc6
No related branches found
No related tags found
No related merge requests found
Pipeline #4872 passed
......@@ -581,7 +581,7 @@ srt_system_info_new_from_json (const char *path,
g_return_val_if_fail (_srt_check_not_setuid (), NULL);
g_return_val_if_fail (path != NULL, NULL);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, NULL);
info = srt_system_info_new (NULL);
srt_system_info_set_environ (info, (gchar * const *) no_strings);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment