summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-08-13 13:25:54 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-08-13 13:29:11 +0200
commiteb25176ab3130a2f158de284d8e316a9e1f9c840 (patch)
tree9856be7b2fadef04a5d2e3aa50de020829c85da9
parentbc690d63f6d2f10bc1cff89cb4dfd7589c3b012c (diff)
downloadphp-git-eb25176ab3130a2f158de284d8e316a9e1f9c840.tar.gz
Remove dead code
-rw-r--r--ext/zip/php_zip.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index fabd30e8ea..0af6f24240 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -1359,47 +1359,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;
}
}