diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-08-13 13:29:35 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-08-13 13:29:35 +0200 |
commit | e7ac9428d812502655fb8c3b70384140967c410d (patch) | |
tree | e9c193b77de876cb3d972fef25db82ce0d825d40 /ext | |
parent | d4e5e63b6c525fb91af1d88aeeeab7298d08c620 (diff) | |
parent | eb25176ab3130a2f158de284d8e316a9e1f9c840 (diff) | |
download | php-git-e7ac9428d812502655fb8c3b70384140967c410d.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove dead code
Diffstat (limited to 'ext')
-rw-r--r-- | ext/zip/php_zip.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 402eb1342c..c0b16792e5 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -1270,47 +1270,36 @@ static void php_zip_entry_get_info(INTERNAL_FUNCTION_PARAMETERS, int opt) /* {{{ switch (opt) { case 0: RETURN_STRING((char *)zr_rsrc->sb.name); - break; case 1: RETURN_LONG((zend_long) (zr_rsrc->sb.comp_size)); - break; case 2: RETURN_LONG((zend_long) (zr_rsrc->sb.size)); - break; case 3: switch (zr_rsrc->sb.comp_method) { case 0: RETURN_STRING("stored"); - break; case 1: RETURN_STRING("shrunk"); - break; case 2: case 3: case 4: case 5: RETURN_STRING("reduced"); - break; case 6: RETURN_STRING("imploded"); - break; case 7: RETURN_STRING("tokenized"); break; case 8: RETURN_STRING("deflated"); - break; case 9: RETURN_STRING("deflatedX"); break; case 10: RETURN_STRING("implodedX"); - break; default: RETURN_FALSE; } - RETURN_LONG((zend_long) (zr_rsrc->sb.comp_method)); - break; } } |