[Pkg-javascript-commits] [node-acorn-jsx] 185/484: Minor: Remove unused argument from readToken_slash
Bastien Roucariès
rouca at moszumanska.debian.org
Sat Aug 19 14:20:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-acorn-jsx.
commit dccd45528a8a3652eae2af88dd6c4a34f696a92b
Author: PlNG <tempeml at hotmail.com>
Date: Sat May 3 05:13:44 2014 -0400
Minor: Remove unused argument from readToken_slash
Possible dev relic.
readToken_slash currently does not have any arguments and does not appear to look at arguments. All existing tests pass after removal of extraneous argument while calling readToken_slash.
---
acorn.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/acorn.js b/acorn.js
index d84e3b3..9201398 100644
--- a/acorn.js
+++ b/acorn.js
@@ -700,7 +700,7 @@
// of the type given by its first argument.
case 47: // '/'
- return readToken_slash(code);
+ return readToken_slash();
case 37: case 42: // '%*'
return readToken_mult_modulo();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git
More information about the Pkg-javascript-commits
mailing list