Explorar o código

SDL_syspower: remove dead store warning
Value stored to 'str' during its initialization is never read

Sylvain Becker %!s(int64=6) %!d(string=hai) anos
pai
achega
ff0d9245a9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/power/linux/SDL_syspower.c

+ 1 - 1
src/power/linux/SDL_syspower.c

@@ -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++;