mirror of https://github.com/encounter/SDL.git
SDL_syspower: remove dead store warning
Value stored to 'str' during its initialization is never read
This commit is contained in:
parent
42153342ab
commit
ff0d9245a9
|
@ -289,7 +289,7 @@ static SDL_bool
|
||||||
next_string(char **_ptr, char **_str)
|
next_string(char **_ptr, char **_str)
|
||||||
{
|
{
|
||||||
char *ptr = *_ptr;
|
char *ptr = *_ptr;
|
||||||
char *str = *_str;
|
char *str;
|
||||||
|
|
||||||
while (*ptr == ' ') { /* skip any spaces... */
|
while (*ptr == ' ') { /* skip any spaces... */
|
||||||
ptr++;
|
ptr++;
|
||||||
|
|
Loading…
Reference in New Issue