mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Merge pull request #5619 from lunixoid/master
Simplified condition in `while`
This commit is contained in:
commit
5aba01ed26
@ -616,7 +616,7 @@ static bool make_proc_acpi_key_val(char **_ptr, char **_key, char **_val)
|
||||
|
||||
*(ptr++) = '\0'; /* terminate the key. */
|
||||
|
||||
while ((*ptr == ' ') && (*ptr != '\0'))
|
||||
while (*ptr == ' ')
|
||||
ptr++; /* skip whitespace. */
|
||||
|
||||
if (*ptr == '\0')
|
||||
|
Loading…
x
Reference in New Issue
Block a user