Remove various unused variables and function parameters

redux
David Majda 11 years ago
parent 1ea9a5f340
commit 06a83448df

@ -169,7 +169,7 @@ var utils = require("../../utils"),
* *
* silentFails--; * silentFails--;
*/ */
module.exports = function(ast, options) { module.exports = function(ast) {
var consts = []; var consts = [];
function addConst(value) { function addConst(value) {
@ -351,7 +351,7 @@ module.exports = function(ast, options) {
}, },
sequence: function(node, context) { sequence: function(node, context) {
var emptyArrayIndex, failIndex; var emptyArrayIndex;
function buildElementsCode(elements, context) { function buildElementsCode(elements, context) {
var processedCount, functionIndex; var processedCount, functionIndex;
@ -591,7 +591,7 @@ module.exports = function(ast, options) {
); );
}, },
any: function(node) { any: function() {
var expectedIndex = addConst('{ type: "any", description: "any character" }'); var expectedIndex = addConst('{ type: "any", description: "any character" }');
return buildCondition( return buildCondition(

@ -428,7 +428,7 @@ module.exports = function(ast, options) {
parts.push('}'); parts.push('}');
} }
function compileCall(cond) { function compileCall() {
var baseLength = 4, var baseLength = 4,
paramsLength = bc[ip + baseLength - 1]; paramsLength = bc[ip + baseLength - 1];

Loading…
Cancel
Save