[libgsystem] fileutils: Initialize tryagain variable to pacify older GCC versions
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsystem] fileutils: Initialize tryagain variable to pacify older GCC versions
- Date: Tue, 23 Apr 2013 22:12:07 +0000 (UTC)
commit e5c9386b64658b8d3fa87f820d703f2bd188535e
Author: Colin Walters <walters verbum org>
Date: Tue Apr 23 16:04:16 2013 -0400
fileutils: Initialize tryagain variable to pacify older GCC versions
gsystem-file-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsystem-file-utils.c b/gsystem-file-utils.c
index 0a5d8cc..cdeb912 100644
--- a/gsystem-file-utils.c
+++ b/gsystem-file-utils.c
@@ -415,7 +415,7 @@ linkcopy_internal (GFile *src,
/* 128 attempts seems reasonable... */
for (i = 0; i < 128; i++)
{
- gboolean tryagain;
+ gboolean tryagain = FALSE;
if (!linkcopy_internal_attempt (src, dest, dest_parent,
flags, sync_data,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]