mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-14 22:26:46 +02:00
Fix non-initialized variable in gio/gfile.c
This commit is contained in:
committed by
Philip Withnall
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);
|
||||||
|
Reference in New Issue
Block a user