diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 09:08:49 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 09:08:49 -0800 |
commit | f2a9bbe3054be919be22917edf560dd6ecac3ae2 (patch) | |
tree | 96ce609424b4bb2c493c183582850bd64879a00f /js/lib | |
parent | c9bd3cbb3fbab9e9e3b3aa928f317508fafa8012 (diff) | |
parent | acd4e577f023b9778ec56504baf025f3bb83612a (diff) |
Merge pull request #293 from robinst/use-void-return
Remove unnecessary return of value
Diffstat (limited to 'js/lib')
-rw-r--r-- | js/lib/blocks.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js index 8aeb95c..257b991 100644 --- a/js/lib/blocks.js +++ b/js/lib/blocks.js @@ -555,7 +555,7 @@ var finalize = function(block, lineNumber) { var above = block._parent; // don't do anything if the block is already closed if (!block._open) { - return 0; + return; } block._open = false; block.sourcepos[1] = [lineNumber, this.lastLineLength + 1]; |