diff options
author | twosee <twose@qq.com> | 2019-06-12 18:49:33 +0800 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-12 16:17:16 +0200 |
commit | 63171d88f2b1f45840d0c63072cde0735b6f2764 (patch) | |
tree | 369adb0af4391e39fd05ed8d8e0649cc051ca8c3 /ext/odbc | |
parent | cf527e93b108eb3a7189bbdb0a64346100b864ec (diff) | |
download | php-git-63171d88f2b1f45840d0c63072cde0735b6f2764.tar.gz |
Add do...while(0) for RETURN_* and ZVAL_* APIs
Closes GH-4255.
Diffstat (limited to 'ext/odbc')
-rw-r--r-- | ext/odbc/php_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index 6bd24781b4..8b6c56a122 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -2878,7 +2878,7 @@ PHP_FUNCTION(odbc_field_type) } PHP_ODBC_SQLCOLATTRIBUTE(result->stmt, (SQLUSMALLINT)pv_num, SQL_COLUMN_TYPE_NAME, tmp, 31, &tmplen, NULL); - RETURN_STRING(tmp) + RETURN_STRING(tmp); } /* }}} */ |