- Commit
- f2a9bbe3054be919be22917edf560dd6ecac3ae2
- Parent
- c9bd3cbb3fbab9e9e3b3aa928f317508fafa8012
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Merge pull request #293 from robinst/use-void-return
Remove unnecessary return of value
My personal build of CMark ✏️
Merge pull request #293 from robinst/use-void-return
Remove unnecessary return of value
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | js/lib/blocks.js | 2 | 1 | 1 |
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];