[nautilus] file: initialize variables to stop complaints from compilers (#636643)



commit eea53d2f740ac25a13eea13baa83ecb493fa24cc
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Dec 7 11:05:38 2010 +0100

    file: initialize variables to stop complaints from compilers (#636643)

 libnautilus-private/nautilus-file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index c19a10e..580fdd5 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -2776,7 +2776,7 @@ compare_files_by_size (NautilusFile *file_1, NautilusFile *file_2)
 	 */
 
 	Knowledge size_known_1, size_known_2;
-	goffset size_1, size_2;
+	goffset size_1 = 0, size_2 = 0;
 
 	size_known_1 = get_size (file_1, &size_1);
 	size_known_2 = get_size (file_2, &size_2);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]