Commit:    3dd256a67b61a995b580cce762a46be689ea34b1
Author:    Felipe Pena <felipe...@gmail.com>         Sun, 19 Aug 2012 14:50:49 
-0300
Parents:   50ab6c63a700155b8d6be361eac29eae2bc6d869
Branches:  PHP-5.3 PHP-5.4 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=3dd256a67b61a995b580cce762a46be689ea34b1

Log:
- Value stored to var is never used

Changed paths:
  M  ext/standard/url.c


Diff:
diff --git a/ext/standard/url.c b/ext/standard/url.c
index 18c300c..2525afb 100644
--- a/ext/standard/url.c
+++ b/ext/standard/url.c
@@ -220,14 +220,14 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int 
length)
 
                if (query && fragment) {
                        if (query > fragment) {
-                               p = e = fragment;
+                               e = fragment;
                        } else {
-                               p = e = query;
+                               e = query;
                        }
                } else if (query) {
-                       p = e = query;
+                       e = query;
                } else if (fragment) {
-                       p = e = fragment;
+                       e = fragment;
                }
        } else {
                e = p;


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to