Merge branch 'wip/baedert/gparam' into 'master'

glocalfile: Fix an uninitialized variable

See merge request GNOME/glib!1860
This commit is contained in:
Philip Withnall 2021-01-08 14:07:57 +00:00
commit 46097e9b8e

View File

@ -2038,7 +2038,7 @@ g_local_file_trash (GFile *file,
{
uid_t uid;
char uid_str[32];
gboolean success;
gboolean success = FALSE;
uid = geteuid ();
g_snprintf (uid_str, sizeof (uid_str), "%lu", (unsigned long)uid);