Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SDL_syspower.c: remove redundant expression
  • Loading branch information
1bsyl committed Oct 30, 2019
1 parent d4a67e2 commit 25d53a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/power/linux/SDL_syspower.c
Expand Up @@ -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. */
}

Expand Down

0 comments on commit 25d53a4

Please sign in to comment.