Commit 4a7aeef1 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Initialize save_errno. (#355206, Mike Edenfield)

2006-09-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/gstdio.c (g_rename): Initialize save_errno.
	(#355206, Mike Edenfield)
parent 2d96899c
2006-09-10 Matthias Clasen <mclasen@redhat.com>
* glib/gstdio.c (g_rename): Initialize save_errno.
(#355206, Mike Edenfield)
2006-09-03 Matthias Clasen <mclasen@redhat.com>
* glib/gerror.c: Allocate GErrors using the slice allocator.
......
......@@ -261,7 +261,7 @@ g_rename (const gchar *oldfilename,
wchar_t *woldfilename = g_utf8_to_utf16 (oldfilename, -1, NULL, NULL, NULL);
wchar_t *wnewfilename;
int retval;
int save_errno;
int save_errno = 0;
if (woldfilename == NULL)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment