cmark

Unnamed repository; edit this file 'description' to name the repository.

commit f2a9bbe3054be919be22917edf560dd6ecac3ae2
parent c9bd3cbb3fbab9e9e3b3aa928f317508fafa8012
Author: John MacFarlane <jgm@berkeley.edu>
Date:   Wed, 21 Jan 2015 09:08:49 -0800

Merge pull request #293 from robinst/use-void-return

Remove unnecessary return of value
Diffstat:
Mjs/lib/blocks.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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];