readline: remove unused vars in _ttyWrite

This commit is contained in:
Kyle Robinson Young 2012-04-20 09:59:54 -07:00 committed by Ben Noordhuis
parent 77c1cc0482
commit da56c72f59

View File

@ -562,7 +562,6 @@ Interface.prototype._moveCursor = function(dx) {
// handle a write from the tty
Interface.prototype._ttyWrite = function(s, key) {
var next_word, next_non_word, previous_word, previous_non_word;
key = key || {};
// Ignore escape key - Fixes #2876