From: Pierre Joye Date: Mon, 3 May 2010 19:29:05 +0000 (+0000) Subject: - fix build (declaration must be first) X-Git-Tag: php-5.3.3RC1~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55320ca1b867434e0d61d3d72a31424804db6c57;p=php - fix build (declaration must be first) --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 74a3e00f1f..58ade41fa5 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1638,10 +1638,10 @@ sb4 php_oci_fetch_errmsg(OCIError *error_handle, text **error_buf TSRMLS_DC) */ int php_oci_fetch_sqltext_offset(php_oci_statement *statement, text **sqltext, ub2 *error_offset TSRMLS_DC) { - *sqltext = NULL; - *error_offset = 0; sword errstatus; + *sqltext = NULL; + *error_offset = 0; PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, (dvoid *) sqltext, (ub4 *)0, OCI_ATTR_STATEMENT, statement->err)); if (errstatus != OCI_SUCCESS) {