Skip to content

Commit ead977b

Browse files
rurbantonycoz
authored andcommitted
Storable: simplify last_op_in_netorder
remove dead code, detected by coverity (cherry picked from commit f1e1f90)
1 parent 8dea8e7 commit ead977b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dist/Storable/Storable.xs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7402,7 +7402,7 @@ ALIAS:
74027402
is_retrieving = ST_RETRIEVE
74037403
PREINIT:
74047404
bool result;
7405-
PPCODE:
7405+
CODE:
74067406
if (ix) {
74077407
dSTCXT;
74087408
assert(cxt);
@@ -7411,7 +7411,6 @@ PPCODE:
74117411
result = !!last_op_in_netorder(aTHX);
74127412
}
74137413
ST(0) = boolSV(result);
7414-
XSRETURN(1);
74157414

74167415
# so far readonly. we rather probe at install to be safe.
74177416

0 commit comments

Comments
 (0)