Skip to content

Commit

Permalink
Unused variables in I18n removed
Browse files Browse the repository at this point in the history
  • Loading branch information
evilbloodydemon committed Apr 22, 2011
1 parent d484d90 commit 255dc1c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/Cake/I18n/Multibyte.php
Expand Up @@ -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];
Expand Down Expand Up @@ -819,7 +818,6 @@ public static function strtoupper($string) {
$utf8Map = Multibyte::utf8($string);

$length = count($utf8Map);
$matched = false;
$replaced = array();
$upperCase = array();

Expand Down Expand Up @@ -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]);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 255dc1c

Please sign in to comment.