diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2008-04-15 09:46:05 +0000 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@src.gnome.org> | 2008-04-15 09:46:05 +0000 |
commit | 455353f0144b53611e9df19b586ede33fe04756b (patch) | |
tree | 5dd0fbaa810f7b7154e471b89425c1d6de73be8a | |
parent | 5b30f9a8a63b7a106ed2dfb5a1d384b1880daba6 (diff) | |
download | nautilus-455353f0144b53611e9df19b586ede33fe04756b.tar.gz |
Initialize two vars to get rid of a warning with gcc 4.3. Patch by Paweł
2008-04-15 Cosimo Cecchi <cosimoc@gnome.org>
* libnautilus-private/nautilus-file.c: (compare_by_time):
Initialize two vars to get rid of a warning with gcc 4.3.
Patch by Paweł Paprota. (#528081).
svn path=/branches/gnome-2-22/; revision=14073
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | libnautilus-private/nautilus-file.c | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2008-04-15 Cosimo Cecchi <cosimoc@gnome.org> + + * libnautilus-private/nautilus-file.c: (compare_by_time): + Initialize two vars to get rid of a warning with gcc 4.3. + Patch by Paweł Paprota. (#528081). + 2008-04-10 Cosimo Cecchi <cosimoc@gnome.org> * configure.in: Add a missing comma to fix build with diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c index 0cba45ac1..7ac250593 100644 --- a/libnautilus-private/nautilus-file.c +++ b/libnautilus-private/nautilus-file.c @@ -2405,6 +2405,9 @@ compare_by_time (NautilusFile *file_1, NautilusFile *file_2, NautilusDateType ty Knowledge time_known_1, time_known_2; time_t time_1, time_2; + time_1 = 0; + time_2 = 0; + time_known_1 = get_time (file_1, &time_1, type); time_known_2 = get_time (file_2, &time_2, type); |