diff --git a/lib/Cake/I18n/Multibyte.php b/lib/Cake/I18n/Multibyte.php index 9ad06c09313..122e1f123ec 100644 --- a/lib/Cake/I18n/Multibyte.php +++ b/lib/Cake/I18n/Multibyte.php @@ -772,7 +772,6 @@ public static function strtolower($string) { $length = count($utf8Map); $lowerCase = array(); - $matched = false; for ($i = 0 ; $i < $length; $i++) { $char = $utf8Map[$i]; @@ -819,7 +818,6 @@ public static function strtoupper($string) { $utf8Map = Multibyte::utf8($string); $length = count($utf8Map); - $matched = false; $replaced = array(); $upperCase = array(); @@ -947,7 +945,6 @@ public static function substr($string, $start, $length = null) { } $string = Multibyte::utf8($string); - $stringCount = count($string); for ($i = 1; $i <= $start; $i++) { unset($string[$i - 1]); @@ -1068,7 +1065,6 @@ private static function __codepoint($decimal) { * @return array */ private static function __find($char, $type = 'lower') { - $value = false; $found = array(); if (!isset(self::$__codeRange[$char])) { $range = self::__codepoint($char);