var definition = require('./definition');

function initialDeps(req, res, next, err) {
    var deps = [
        definition.initial('ALL', /.*/, 'req', req),
        definition.initial('ALL', /.*/, 'res', res),
    ];
    if (next) {
        deps.push(definition.initial('ALL', /.*/, 'next', next));
    }
    if (err) {
        deps.push(definition.initial('ALL', /.*/, 'err', err));
    }
    return deps;
}

module.exports = initialDeps;

@@ -214,28 +214,8 @@
  %5D;%0A
-    if (next) %7B%0A    
     
@@ -268,30 +268,24 @@
 t', next));%0A
-    %7D%0A
     if (err)

Remove if check for 'next' in initialDeps utility