summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReeze Xia <reeze@php.net>2015-03-04 11:34:53 +0800
committerReeze Xia <reeze@php.net>2015-03-04 11:34:53 +0800
commit2dac92b244eef1575a5a0487fe8b615be1a9e294 (patch)
tree8cdb85c64a54d68cebcfff7827b501aa92596ec0
parent2fa4d1d88bfdf0186cf448294cfaa45636edfdb3 (diff)
downloadphp-git-2dac92b244eef1575a5a0487fe8b615be1a9e294.tar.gz
Silence a empty while loop warning
-rw-r--r--main/streams/streams.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c
index 16149fbc92..c47fe0d940 100644
--- a/main/streams/streams.c
+++ b/main/streams/streams.c
@@ -1829,7 +1829,9 @@ PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, const
if (localhost == 1) {
(*path_for_open) += 11;
}
- while (*(++*path_for_open)=='/');
+ while (*(++*path_for_open)=='/') {
+ /* intentionally empty */
+ }
#ifdef PHP_WIN32
if (*(*path_for_open + 1) != ':')
#endif