mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix non-initialized variable in gio/gfile.c
This commit is contained in:
parent
397ccd833b
commit
5ec3a425d2
@ -7742,7 +7742,7 @@ g_file_replace_contents (GFile *file,
|
|||||||
{
|
{
|
||||||
GFileOutputStream *out;
|
GFileOutputStream *out;
|
||||||
gsize pos, remainder;
|
gsize pos, remainder;
|
||||||
gssize res;
|
gssize res = -1;
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
|
|
||||||
g_return_val_if_fail (G_IS_FILE (file), FALSE);
|
g_return_val_if_fail (G_IS_FILE (file), FALSE);
|
||||||
|
Loading…
Reference in New Issue
Block a user