From: Glenn Morris Date: Tue, 19 Apr 2011 07:05:57 +0000 (+0000) Subject: time-date.el (time-to-days): Remove unused local variables. X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=e76d2a12c816ef66b2eed6f9548b55197e163a56 time-date.el (time-to-days): Remove unused local variables. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3cbeac029..f02ef8de6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-04-19 Glenn Morris + + * time-date.el (time-to-days): Remove unused local variables. + 2011-04-18 Katsumi Yamaoka * gnus-registry.el: Eliminate cl functions. diff --git a/lisp/time-date.el b/lisp/time-date.el index 622036006..70d096c41 100644 --- a/lisp/time-date.el +++ b/lisp/time-date.el @@ -243,8 +243,6 @@ DATE1 and DATE2 should be date-time strings." TIME should be a time value. The Gregorian date Sunday, December 31, 1bce is imaginary." (let* ((tim (decode-time time)) - (month (nth 4 tim)) - (day (nth 3 tim)) (year (nth 5 tim))) (+ (time-to-day-in-year time) ; Days this year (* 365 (1- year)) ; + Days in prior years