diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-09-10 05:13:52 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-09-10 05:13:52 +0000 |
commit | 4a7aeef16fc46b4451b82caf88577c06140e28b0 (patch) | |
tree | e26bce8298b88c3f48e006564a582d515cc5e72b /glib/gstdio.c | |
parent | 2d96899c5ba691b02070e46620feae077e62b2de (diff) | |
download | glib-4a7aeef16fc46b4451b82caf88577c06140e28b0.tar.gz |
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)
Diffstat (limited to 'glib/gstdio.c')
-rw-r--r-- | glib/gstdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gstdio.c b/glib/gstdio.c index 969485654..a9dc98b99 100644 --- a/glib/gstdio.c +++ b/glib/gstdio.c @@ -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) { |