Skip to content

Commit

Permalink
tools: remove useless function declaration
Browse files Browse the repository at this point in the history
Backport-PR-URL: #17788
PR-URL: #17125
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
tniessen authored and MylesBorins committed Jan 2, 2018
1 parent 4f6dd96 commit b8a5d6d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tools/doc/preprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ var includeData = {};

function preprocess(inputFile, input, cb) {
input = stripComments(input);
processIncludes(inputFile, input, function(err, data) {
if (err) return cb(err);

cb(null, data);
});
processIncludes(inputFile, input, cb);
}

function stripComments(input) {
Expand Down

0 comments on commit b8a5d6d

Please sign in to comment.