We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 577bc61 commit c10ea32Copy full SHA for c10ea32
ext/standard/pack.c
@@ -1101,15 +1101,11 @@ PHP_FUNCTION(unpack)
1101
1102
v = php_unpack(&input[inputpos], 8, issigned, map);
1103
1104
- /* GCC seems to think does are identical for some reason */
1105
-#pragma GCC diagnostic push
1106
-#pragma GCC diagnostic ignored "-Wduplicated-branches"
1107
if (type == 'q') {
1108
v = (zend_long) v;
1109
} else {
1110
v = (zend_ulong) v;
1111
}
1112
-#pragma GCC diagnostic pop
1113
1114
add_assoc_long(return_value, n, v);
1115
break;
0 commit comments