]> granicus.if.org Git - php/commit
base64_decode: remove redundant check
authorLauri Kenttä <lauri.kentta@gmail.com>
Wed, 25 May 2016 18:15:52 +0000 (21:15 +0300)
committerNikita Popov <nikic@php.net>
Wed, 6 Jul 2016 23:27:23 +0000 (01:27 +0200)
commitef6f1631610c5314062336648e13a3eb76bb564c
tree4fcca2014e8ae0f24631e39c31d91c768c83f511
parentc65de8ac1302a3b9825a6abe19c87fe45c68698a
base64_decode: remove redundant check

If length == 0 || *current != '=' is false, the for loop will always
end up in this same point, until the if statement becomes true.
Thus, the if statement is not needed.
ext/standard/base64.c