Skip to content

Commit eb25176

Browse files
committed
Remove dead code
1 parent bc690d6 commit eb25176

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ext/zip/php_zip.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,47 +1359,36 @@ static void php_zip_entry_get_info(INTERNAL_FUNCTION_PARAMETERS, int opt) /* {{{
13591359
switch (opt) {
13601360
case 0:
13611361
RETURN_STRING((char *)zr_rsrc->sb.name);
1362-
break;
13631362
case 1:
13641363
RETURN_LONG((zend_long) (zr_rsrc->sb.comp_size));
1365-
break;
13661364
case 2:
13671365
RETURN_LONG((zend_long) (zr_rsrc->sb.size));
1368-
break;
13691366
case 3:
13701367
switch (zr_rsrc->sb.comp_method) {
13711368
case 0:
13721369
RETURN_STRING("stored");
1373-
break;
13741370
case 1:
13751371
RETURN_STRING("shrunk");
1376-
break;
13771372
case 2:
13781373
case 3:
13791374
case 4:
13801375
case 5:
13811376
RETURN_STRING("reduced");
1382-
break;
13831377
case 6:
13841378
RETURN_STRING("imploded");
1385-
break;
13861379
case 7:
13871380
RETURN_STRING("tokenized");
13881381
break;
13891382
case 8:
13901383
RETURN_STRING("deflated");
1391-
break;
13921384
case 9:
13931385
RETURN_STRING("deflatedX");
13941386
break;
13951387
case 10:
13961388
RETURN_STRING("implodedX");
1397-
break;
13981389
default:
13991390
RETURN_FALSE;
14001391
}
1401-
RETURN_LONG((zend_long) (zr_rsrc->sb.comp_method));
1402-
break;
14031392
}
14041393

14051394
}

0 commit comments

Comments
 (0)