diff options
author | Nuno Lopes <nlopess@php.net> | 2008-09-23 15:18:26 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-09-23 15:18:26 +0000 |
commit | 8a77e55566f13cd9d17909aac705ab79e9d35953 (patch) | |
tree | f1530fd6df61524be5dbce319b2fd782240283a2 /ext/standard/base64.c | |
parent | a1d2b4d9407e654e085b2dfae30de9caf82b8715 (diff) | |
download | php-git-8a77e55566f13cd9d17909aac705ab79e9d35953.tar.gz |
clean some dead code (with static analysis help)
Diffstat (limited to 'ext/standard/base64.c')
-rw-r--r-- | ext/standard/base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/base64.c b/ext/standard/base64.c index 88fe8fa7eb..faf2cae055 100644 --- a/ext/standard/base64.c +++ b/ext/standard/base64.c @@ -190,7 +190,7 @@ PHPAPI unsigned char *php_base64_decode_ex(const unsigned char *str, int length, case 2: k++; case 3: - result[k++] = 0; + result[k] = 0; } } if(ret_length) { |