diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-14 16:15:47 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-15 11:51:43 +0100 |
commit | daa420a0da5df43aa98bd9f416855a25821f26a4 (patch) | |
tree | 4bf0565deb11512f5e0be1853c6c6ddc25d62309 | |
parent | 16cf1b915d014b8a45382c2d1ac131567210c016 (diff) | |
download | php-git-daa420a0da5df43aa98bd9f416855a25821f26a4.tar.gz |
Fix misleading indentation warning in pdo_oci
-rw-r--r-- | ext/pdo_oci/oci_statement.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/pdo_oci/oci_statement.c b/ext/pdo_oci/oci_statement.c index 74c59fe9c5..87fe34e287 100644 --- a/ext/pdo_oci/oci_statement.c +++ b/ext/pdo_oci/oci_statement.c @@ -235,10 +235,11 @@ static sb4 oci_bind_output_cb(dvoid *ctx, OCIBind *bindp, ub4 iter, ub4 index, d ZEND_ASSERT(param); - if (Z_ISREF(param->parameter)) - parameter = Z_REFVAL(param->parameter); - else - parameter = ¶m->parameter; + if (Z_ISREF(param->parameter)) { + parameter = Z_REFVAL(param->parameter); + } else { + parameter = ¶m->parameter; + } if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB) { P->actual_len = sizeof(OCILobLocator*); |