1
0
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:
Stefan Schweter 2016-10-12 22:48:41 +02:00
parent 6612379adf
commit e7f1334f07

View File

@ -26,7 +26,7 @@
char *
utf8_prev_char (const char *p)
{
while (1)
for (;;)
{
p--;
if ((*p & 0xc0) != 0x80)