Permalink
Browse files

Remove an unnecessary variable initialization

  • Loading branch information...
1 parent ea7a866 commit 9df35b4d23848e831ead765712addd0b845fd8f4 @narfbg narfbg committed Oct 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/core/Input.php
View
@@ -364,7 +364,7 @@ public function ip_address()
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)

0 comments on commit 9df35b4

Please sign in to comment.