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 e96a7f0 commit 34e22c5Copy full SHA for 34e22c5
ext/standard/pack.c
@@ -737,15 +737,14 @@ PHP_FUNCTION(unpack)
737
738
while (formatlen-- > 0) {
739
char type = *(format++);
740
- char c;
741
int repetitions = 1, argb;
742
char *name;
743
int namelen;
744
int size = 0;
745
746
/* Handle format arguments if any */
747
if (formatlen > 0) {
748
- c = *format;
+ char c = *format;
749
750
if (c >= '0' && c <= '9') {
751
errno = 0;
0 commit comments