aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorRobin Stocker <robin@nibor.org>2015-01-21 20:14:57 +1100
committerRobin Stocker <robin@nibor.org>2015-01-21 20:14:57 +1100
commitacd4e577f023b9778ec56504baf025f3bb83612a (patch)
treeeca7833d55d2e16a85a515e9532b490db49758c8 /js/lib
parent84d48648f0a203befd666aa0c7dad32fa1a22710 (diff)
Remove unnecessary return of value
In other cases, there is no return, and no caller checks for a return value.
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/blocks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index 476eb28..8bdbac5 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -556,7 +556,7 @@ var finalize = function(block, lineNumber) {
var above = block._parent || this.top;
// 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];