mirror of
https://github.com/systemd/systemd.git
synced 2024-10-29 21:55:36 +03:00
basic: use for() loop instead of while()
This commit is contained in:
parent
6612379adf
commit
e7f1334f07
@ -26,7 +26,7 @@
|
||||
char *
|
||||
utf8_prev_char (const char *p)
|
||||
{
|
||||
while (1)
|
||||
for (;;)
|
||||
{
|
||||
p--;
|
||||
if ((*p & 0xc0) != 0x80)
|
||||
|
Loading…
Reference in New Issue
Block a user