Skip to content

Commit 344829d

Browse files
committed
Fix unreachebale
1 parent 3a082ea commit 344829d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ext/pdo/pdo_stmt.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -917,9 +917,8 @@ static bool do_fetch(pdo_stmt_t *stmt, zval *return_value, enum pdo_fetch_type h
917917
return 0;
918918
}
919919
if (!stmt->fetch.func.fci.size) {
920-
if (!do_fetch_func_prepare(stmt))
921-
{
922-
return 0;
920+
if (!do_fetch_func_prepare(stmt)) {
921+
return false;
923922
}
924923
}
925924
break;

0 commit comments

Comments
 (0)