]> granicus.if.org Git - php/commitdiff
- Remove unused variable
authorFelipe Pena <felipensp@gmail.com>
Sun, 19 Aug 2012 14:35:18 +0000 (11:35 -0300)
committerFelipe Pena <felipensp@gmail.com>
Sun, 19 Aug 2012 14:35:18 +0000 (11:35 -0300)
ext/standard/pack.c

index 61228a63df783e4a7f9603df4f595ac08d259c74..9894746f7767f6e7ce8e2139f30490191b06621d 100644 (file)
@@ -676,7 +676,6 @@ PHP_FUNCTION(unpack)
                                switch ((int) type) {
                                        case 'a': {
                                                /* a will not strip any trailing whitespace or null padding */
-                                               char pad = ' ';
                                                int len = inputlen - inputpos;  /* Remaining string */
 
                                                /* If size was given take minimum of len and size */