diff options
| author | John Wiegley | 2001-05-10 01:00:50 +0000 |
|---|---|---|
| committer | John Wiegley | 2001-05-10 01:00:50 +0000 |
| commit | 4bd0908bff31ddf8e4a39ff366c98c2e7de82403 (patch) | |
| tree | 0efde3558c4055477109a09a92bbf0bd2001428a | |
| parent | 4015360678ec0bfbb1ed0d043916277295b72fbd (diff) | |
| download | emacs-4bd0908bff31ddf8e4a39ff366c98c2e7de82403.tar.gz emacs-4bd0908bff31ddf8e4a39ff366c98c2e7de82403.zip | |
(timeclock-find-discrep): Initialize `elapsed' to 0.
| -rw-r--r-- | lisp/calendar/timeclock.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/timeclock.el b/lisp/calendar/timeclock.el index 7592d63427c..53ff1277139 100644 --- a/lisp/calendar/timeclock.el +++ b/lisp/calendar/timeclock.el | |||
| @@ -1017,7 +1017,7 @@ See the documentation for the given function if more info is needed." | |||
| 1017 | ;; total) | 1017 | ;; total) |
| 1018 | (let* ((now (current-time)) | 1018 | (let* ((now (current-time)) |
| 1019 | (todays-date (timeclock-time-to-date now)) | 1019 | (todays-date (timeclock-time-to-date now)) |
| 1020 | (first t) (accum 0) elapsed | 1020 | (first t) (accum 0) (elapsed 0) |
| 1021 | event beg last-date avg | 1021 | event beg last-date avg |
| 1022 | last-date-limited last-date-seconds) | 1022 | last-date-limited last-date-seconds) |
| 1023 | (unless timeclock-discrepancy | 1023 | (unless timeclock-discrepancy |