diff options
author | Jan Schär <jscissr@gmail.com> | 2016-08-06 14:29:50 +0200 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-08-09 12:26:10 -0700 |
commit | 1b99093df78b795052c944fc6388a934e84e89ef (patch) | |
tree | 0c7865c77b647bef9b5fc567e9c8fcd7a95648cd /test/pummel/test-timer-wrap.js | |
parent | dabac8a2fb285ae838cd30d5bdbdb42d2d345706 (diff) | |
download | node-new-1b99093df78b795052c944fc6388a934e84e89ef.tar.gz |
timers: remove unused repeat param in timer_wrap
The `repeat` param in `start(timeout, repeat)` was 0 in all callsites.
PR-URL: https://github.com/nodejs/node/pull/7994
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/pummel/test-timer-wrap.js')
-rw-r--r-- | test/pummel/test-timer-wrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pummel/test-timer-wrap.js b/test/pummel/test-timer-wrap.js index b71a72f425..659912d1fc 100644 --- a/test/pummel/test-timer-wrap.js +++ b/test/pummel/test-timer-wrap.js @@ -6,7 +6,7 @@ var kOnTimeout = Timer.kOnTimeout; var t = new Timer(); -t.start(1000, 0); +t.start(1000); t[kOnTimeout] = common.mustCall(function() { console.log('timeout'); |