Skip to content

Commit daa420a

Browse files
committed
Fix misleading indentation warning in pdo_oci
1 parent 16cf1b9 commit daa420a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ext/pdo_oci/oci_statement.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,11 @@ static sb4 oci_bind_output_cb(dvoid *ctx, OCIBind *bindp, ub4 iter, ub4 index, d
235235

236236
ZEND_ASSERT(param);
237237

238-
if (Z_ISREF(param->parameter))
239-
parameter = Z_REFVAL(param->parameter);
240-
else
241-
parameter = &param->parameter;
238+
if (Z_ISREF(param->parameter)) {
239+
parameter = Z_REFVAL(param->parameter);
240+
} else {
241+
parameter = &param->parameter;
242+
}
242243

243244
if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB) {
244245
P->actual_len = sizeof(OCILobLocator*);

0 commit comments

Comments
 (0)