com php-src: Silence a empty while loop warning: main/streams/streams.c
| From: | Reeze Xia | Date: | Wed, 04 Mar 2015 03:34:53 +0000 |
| Subject: | com php-src: Silence a empty while loop warning: main/streams/streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85190@lists.php.net to get a copy of this message | ||
Commit: 2dac92b244eef1575a5a0487fe8b615be1a9e294
Author: Reeze Xia <reeze@php.net> Wed, 4 Mar 2015 11:34:53 +0800
Parents: 2fa4d1d88bfdf0186cf448294cfaa45636edfdb3
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2dac92b244eef1575a5a0487fe8b615be1a9e294
Log:
Silence a empty while loop warning
Changed paths:
M main/streams/streams.c
Diff:
diff --git a/main/streams/streams.c b/main/streams/streams.c
index 16149fb..c47fe0d 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