summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipensp@gmail.com>2012-08-19 14:50:49 -0300
committerFelipe Pena <felipensp@gmail.com>2012-08-19 14:50:49 -0300
commit3dd256a67b61a995b580cce762a46be689ea34b1 (patch)
treec7d6fad432b1656c847c73976cf09c4778691ff4
parent50ab6c63a700155b8d6be361eac29eae2bc6d869 (diff)
downloadphp-git-3dd256a67b61a995b580cce762a46be689ea34b1.tar.gz
- Value stored to var is never used
-rw-r--r--ext/standard/url.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/url.c b/ext/standard/url.c
index 18c300c51c..2525afb905 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;