Skip to content

Commit e7ac942

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Remove dead code
2 parents d4e5e63 + eb25176 commit e7ac942

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
@@ -1270,47 +1270,36 @@ static void php_zip_entry_get_info(INTERNAL_FUNCTION_PARAMETERS, int opt) /* {{{
12701270
switch (opt) {
12711271
case 0:
12721272
RETURN_STRING((char *)zr_rsrc->sb.name);
1273-
break;
12741273
case 1:
12751274
RETURN_LONG((zend_long) (zr_rsrc->sb.comp_size));
1276-
break;
12771275
case 2:
12781276
RETURN_LONG((zend_long) (zr_rsrc->sb.size));
1279-
break;
12801277
case 3:
12811278
switch (zr_rsrc->sb.comp_method) {
12821279
case 0:
12831280
RETURN_STRING("stored");
1284-
break;
12851281
case 1:
12861282
RETURN_STRING("shrunk");
1287-
break;
12881283
case 2:
12891284
case 3:
12901285
case 4:
12911286
case 5:
12921287
RETURN_STRING("reduced");
1293-
break;
12941288
case 6:
12951289
RETURN_STRING("imploded");
1296-
break;
12971290
case 7:
12981291
RETURN_STRING("tokenized");
12991292
break;
13001293
case 8:
13011294
RETURN_STRING("deflated");
1302-
break;
13031295
case 9:
13041296
RETURN_STRING("deflatedX");
13051297
break;
13061298
case 10:
13071299
RETURN_STRING("implodedX");
1308-
break;
13091300
default:
13101301
RETURN_FALSE;
13111302
}
1312-
RETURN_LONG((zend_long) (zr_rsrc->sb.comp_method));
1313-
break;
13141303
}
13151304

13161305
}

0 commit comments

Comments
 (0)