]> granicus.if.org Git - php/commitdiff
Remove more unecessaries percent signs
authorGabriel Caruso <carusogabriel34@gmail.com>
Sun, 5 Aug 2018 23:18:02 +0000 (20:18 -0300)
committerGabriel Caruso <carusogabriel34@gmail.com>
Wed, 8 Aug 2018 11:24:00 +0000 (08:24 -0300)
Follwing dae65a89

ext/zip/php_zip.c

index 4fedabad1c0aae0138cab858bf52d00cdbefcbe3..09a7d3a280792698c27f95cf353a5fd2c3025972 100644 (file)
@@ -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);