mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-28 22:18:28 +00:00
SDL_syspower.c: remove redundant expression
This commit is contained in:
@@ -99,7 +99,7 @@ make_proc_acpi_key_val(char **_ptr, char **_key, char **_val)
|
|||||||
|
|
||||||
*(ptr++) = '\0'; /* terminate the key. */
|
*(ptr++) = '\0'; /* terminate the key. */
|
||||||
|
|
||||||
while ((*ptr == ' ') && (*ptr != '\0')) {
|
while (*ptr == ' ') {
|
||||||
ptr++; /* skip whitespace. */
|
ptr++; /* skip whitespace. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user