diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-10-09 12:37:58 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-10-09 12:37:58 +0200 |
commit | 9df35b4d23848e831ead765712addd0b845fd8f4 (patch) | |
tree | be846026149fd9710f5f5b25ab0bb6c96206972b | |
parent | ea7a866f6107d4b50b4a7059f1373035aa12dd23 (diff) |
Remove an unnecessary variable initialization
-rw-r--r-- | system/core/Input.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php index b65509fd7..82482f2aa 100644 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -364,7 +364,7 @@ class CI_Input { if ($spoof) { - for ($i = 0, $c = count($proxy_ips), $separator = (strlen($ip) === 32 ? '.' : ':'); $i < $c; $i++) + for ($i = 0, $c = count($proxy_ips); $i < $c; $i++) { // Check if we have an IP address or a subnet if (strpos($proxy_ips[$i], '/') === FALSE) |