mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +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…
Reference in New Issue
Block a user