# HG changeset patch # User John Wiegley # Date 989456450 0 # Node ID 9baaf32f355a939a9260180de76f5882c4e1a8c7 # Parent c78aca9e4eb24611f0604d70286a8abf985afb37 (timeclock-find-discrep): Initialize `elapsed' to 0. diff -r c78aca9e4eb2 -r 9baaf32f355a lisp/calendar/timeclock.el --- a/lisp/calendar/timeclock.el Wed May 09 20:34:19 2001 +0000 +++ b/lisp/calendar/timeclock.el Thu May 10 01:00:50 2001 +0000 @@ -1017,7 +1017,7 @@ ;; 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