Unused variables in I18n removed

This commit is contained in:
evilbloodydemon 2011-04-22 23:47:11 +04:00
parent d484d90fe5
commit 255dc1c44b

View file

@ -772,7 +772,6 @@ class Multibyte {
$length = count($utf8Map); $length = count($utf8Map);
$lowerCase = array(); $lowerCase = array();
$matched = false;
for ($i = 0 ; $i < $length; $i++) { for ($i = 0 ; $i < $length; $i++) {
$char = $utf8Map[$i]; $char = $utf8Map[$i];
@ -819,7 +818,6 @@ class Multibyte {
$utf8Map = Multibyte::utf8($string); $utf8Map = Multibyte::utf8($string);
$length = count($utf8Map); $length = count($utf8Map);
$matched = false;
$replaced = array(); $replaced = array();
$upperCase = array(); $upperCase = array();
@ -947,7 +945,6 @@ class Multibyte {
} }
$string = Multibyte::utf8($string); $string = Multibyte::utf8($string);
$stringCount = count($string);
for ($i = 1; $i <= $start; $i++) { for ($i = 1; $i <= $start; $i++) {
unset($string[$i - 1]); unset($string[$i - 1]);
@ -1068,7 +1065,6 @@ class Multibyte {
* @return array * @return array
*/ */
private static function __find($char, $type = 'lower') { private static function __find($char, $type = 'lower') {
$value = false;
$found = array(); $found = array();
if (!isset(self::$__codeRange[$char])) { if (!isset(self::$__codeRange[$char])) {
$range = self::__codepoint($char); $range = self::__codepoint($char);