mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 11:14:05 +02:00
tests: Fix a typo on a dereferencing assignment
Otherwise the assignment is pointless. Spotted by cppcheck.
This commit is contained in:
@@ -646,7 +646,7 @@ read_all_from_fd (gint fd, gsize *out_len, GError **error)
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
if (out_len != NULL)
|
if (out_len != NULL)
|
||||||
out_len = 0;
|
*out_len = 0;
|
||||||
g_string_free (str, TRUE);
|
g_string_free (str, TRUE);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user