summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-09 12:37:58 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-09 12:37:58 +0200
commit9df35b4d23848e831ead765712addd0b845fd8f4 (patch)
treebe846026149fd9710f5f5b25ab0bb6c96206972b /system
parentea7a866f6107d4b50b4a7059f1373035aa12dd23 (diff)
Remove an unnecessary variable initialization
Diffstat (limited to 'system')
-rw-r--r--system/core/Input.php2
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)