mirror of https://github.com/encounter/SDL.git
SDL_syspower.c: remove redundant expression
This commit is contained in:
parent
d4a67e2541
commit
25d53a4475
|
@ -99,7 +99,7 @@ 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. */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue