Fix non-initialized variable in gio/gfile.c

This commit is contained in:
Loic Le Page 2022-01-19 18:57:16 +01:00 committed by Philip Withnall
parent 397ccd833b
commit 5ec3a425d2

View File

@ -7742,7 +7742,7 @@ g_file_replace_contents (GFile *file,
{
GFileOutputStream *out;
gsize pos, remainder;
gssize res;
gssize res = -1;
gboolean ret;
g_return_val_if_fail (G_IS_FILE (file), FALSE);