summaryrefslogtreecommitdiff
path: root/ext/standard/base64.c
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2008-09-23 15:18:26 +0000
committerNuno Lopes <nlopess@php.net>2008-09-23 15:18:26 +0000
commit8a77e55566f13cd9d17909aac705ab79e9d35953 (patch)
treef1530fd6df61524be5dbce319b2fd782240283a2 /ext/standard/base64.c
parenta1d2b4d9407e654e085b2dfae30de9caf82b8715 (diff)
downloadphp-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.c2
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) {