com php-src: - Remove unused variable: ext/standard/pack.c
| From: | Felipe Pena | Date: | Sun, 19 Aug 2012 14:35:18 +0000 |
| Subject: | com php-src: - Remove unused variable: ext/standard/pack.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69873@lists.php.net to get a copy of this message | ||
Commit: 2b685075b57cd0d0ed83d0566a97c81824f95063
Author: Felipe Pena <felipensp@gmail.com> Sun, 19 Aug 2012 11:35:18 -0300
Parents: b2a74b5bdb5fe66a59969cb2aa87931958ca56d3
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2b685075b57cd0d0ed83d0566a97c81824f95063
Log:
- Remove unused variable
Changed paths:
M ext/standard/pack.c
Diff:
diff --git a/ext/standard/pack.c b/ext/standard/pack.c
index 61228a6..9894746 100644
--- a/ext/standard/pack.c
+++ b/ext/standard/pack.c
@@ -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 */