mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +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:
|
||||
if (out_len != NULL)
|
||||
out_len = 0;
|
||||
*out_len = 0;
|
||||
g_string_free (str, TRUE);
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user