Blame SOURCES/bz720543-pcmk-iso8601_prevent_dates_from_jumping_backwards_a_day_in_some_timezones.patch

ed0026
commit aa0e9c4d42f7ae4a856c5716444e9333b099013b
ed0026
Author: Andrew Beekhof <andrew@beekhof.net>
ed0026
Date:   Wed Oct 2 09:02:19 2013 +1000
ed0026
ed0026
    Fix: iso8601: Prevent dates from jumping backwards a day in some timezones
ed0026
    
ed0026
    (cherry picked from commit ed70b9864247030bc21163411b60a7e962068d88)
ed0026
ed0026
diff --git a/lib/common/iso8601.c b/lib/common/iso8601.c
ed0026
index d68e7e6..d88c519 100644
ed0026
--- a/lib/common/iso8601.c
ed0026
+++ b/lib/common/iso8601.c
ed0026
@@ -1115,7 +1115,6 @@ crm_time_add_seconds(crm_time_t * a_time, int extra)
ed0026
         days++;
ed0026
     }
ed0026
 
ed0026
-    days = 0;
ed0026
     while (a_time->seconds < 0) {
ed0026
         crm_trace("s=%d, d=%d", a_time->seconds, days);
ed0026
         a_time->seconds += seconds;