summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-08-05 20:18:02 -0300
committerGabriel Caruso <carusogabriel34@gmail.com>2018-08-08 08:24:00 -0300
commit953e28a92c35b81f768ae08451f6e9da6b168e51 (patch)
treeab2ddc23a9a618882293a7f5c7a0ee1a93de121a /ext/zip/php_zip.c
parentf47cdd1ee0246b1d594de9ec29ce12c5279bc421 (diff)
downloadphp-git-953e28a92c35b81f768ae08451f6e9da6b168e51.tar.gz
Remove more unecessaries percent signs
Follwing dae65a89
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 4fedabad1c..09a7d3a280 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -1030,7 +1030,7 @@ static void php_zip_object_free_storage(zend_object *object) /* {{{ */
if (intern->za) {
if (zip_close(intern->za) != 0) {
#if LIBZIP_VERSION_MAJOR == 1 && LIBZIP_VERSION_MINOR == 3 && LIBZIP_VERSION_MICRO == 1
- php_error_docref(NULL, E_WARNING, "Cannot destroy the zip context: %s", "zip_close have failed");
+ php_error_docref(NULL, E_WARNING, "Cannot destroy the zip context: zip_close have failed");
#else
php_error_docref(NULL, E_WARNING, "Cannot destroy the zip context: %s", zip_strerror(intern->za));
zip_discard(intern->za);
@@ -1543,7 +1543,7 @@ static ZIPARCHIVE_METHOD(close)
if ((err = zip_close(intern))) {
#if LIBZIP_VERSION_MAJOR == 1 && LIBZIP_VERSION_MINOR == 3 && LIBZIP_VERSION_MICRO == 1
- php_error_docref(NULL, E_WARNING, "%s", "zip_close have failed");
+ php_error_docref(NULL, E_WARNING, "zip_close have failed");
#else
php_error_docref(NULL, E_WARNING, "%s", zip_strerror(intern));
zip_discard(intern);