Skip to content

Commit

Permalink
zlib: remove unnecessary else branch
Browse files Browse the repository at this point in the history
PR-URL: #17057
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Johnsavadkuhi authored and MylesBorins committed Dec 12, 2017
1 parent 42a8f03 commit 57ee0dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/zlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ function zlibBufferSync(engine, buffer) {
buffer = processChunkSync(engine, buffer, engine._finishFlushFlag);
if (engine._info)
return { buffer, engine };
else
return buffer;
return buffer;
}

function zlibOnError(message, errno) {
Expand Down

0 comments on commit 57ee0dd

Please sign in to comment.