]> code.delx.au - gnu-emacs/commitdiff
(timeclock-find-discrep): Initialize `elapsed' to 0.
authorJohn Wiegley <johnw@newartisans.com>
Thu, 10 May 2001 01:00:50 +0000 (01:00 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Thu, 10 May 2001 01:00:50 +0000 (01:00 +0000)
lisp/calendar/timeclock.el

index 7592d63427ce1391232f009af4a7a9afc11df5d0..53ff1277139dc88f6ea0551b53e3e13b0f0ecc8e 100644 (file)
@@ -1017,7 +1017,7 @@ See the documentation for the given function if more info is needed."
   ;;    total)
   (let* ((now (current-time))
         (todays-date (timeclock-time-to-date now))
-        (first t) (accum 0) elapsed
+        (first t) (accum 0) (elapsed 0)
         event beg last-date avg
         last-date-limited last-date-seconds)
     (unless timeclock-discrepancy