Skip to content

Commit

Permalink
SDL_syspower: remove dead store warning
Browse files Browse the repository at this point in the history
Value stored to 'str' during its initialization is never read
  • Loading branch information
1bsyl committed Oct 30, 2019
1 parent 4215334 commit ff0d924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/power/linux/SDL_syspower.c
Expand Up @@ -289,7 +289,7 @@ static SDL_bool
next_string(char **_ptr, char **_str)
{
char *ptr = *_ptr;
char *str = *_str;
char *str;

while (*ptr == ' ') { /* skip any spaces... */
ptr++;
Expand Down

0 comments on commit ff0d924

Please sign in to comment.