mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
tests: Fix a typo on a dereferencing assignment
Otherwise the assignment is pointless. Spotted by cppcheck.
This commit is contained in:
parent
a42b6eab66
commit
5cdf0efaab
@ -646,7 +646,7 @@ read_all_from_fd (gint fd, gsize *out_len, GError **error)
|
||||
|
||||
error:
|
||||
if (out_len != NULL)
|
||||
out_len = 0;
|
||||
*out_len = 0;
|
||||
g_string_free (str, TRUE);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user