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/zip/php_zip.c | |
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/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 65e6a0db22..6c301cc490 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -1286,7 +1286,7 @@ static PHP_NAMED_FUNCTION(zif_zip_entry_read) RETURN_NEW_STR(buffer); } else { zend_string_efree(buffer); - RETURN_EMPTY_STRING() + RETURN_EMPTY_STRING(); } } else { RETURN_FALSE; |