mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-18 15:51:44 +00:00
SDL_syspower: remove dead store warning
Value stored to 'str' during its initialization is never read
This commit is contained in:
@@ -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++;
|
||||||
|
Reference in New Issue
Block a user