diff options
author | Karl Williamson <khw@cpan.org> | 2018-07-09 15:59:16 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-08-20 09:50:29 -0600 |
commit | e718569540d629c82a9e9e9692fe9cdef9c5fc5f (patch) | |
tree | 7928704bc02b59ce8848a6ddb800d9b2cf36dee5 /inline.h | |
parent | 0a441b11194e53e58982ddce10828ba344f772a5 (diff) | |
download | perl-e718569540d629c82a9e9e9692fe9cdef9c5fc5f.tar.gz |
inline.h: Use 'do {} while' instead of 'while {}'
Diffstat (limited to 'inline.h')
-rw-r--r-- | inline.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1597,9 +1597,9 @@ Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 *start) assert(off <= 0); while (off++ && s > start) { - s--; - while (UTF8_IS_CONTINUATION(*s) && s > start) + do { s--; + } while (UTF8_IS_CONTINUATION(*s) && s > start); } GCC_DIAG_IGNORE(-Wcast-qual) |