Explorar el Código

Removed unused variable in extras/ignorecase.c ...

Ryan C. Gordon hace 9 años
padre
commit
468edd80eb
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      extras/ignorecase.c

+ 1 - 2
extras/ignorecase.c

@@ -89,12 +89,11 @@ int PHYSFSEXT_locateCorrectCase(char *buf)
 {
     int rc;
     char *ptr;
-    char *prevptr;
 
     while (*buf == '/')  /* skip any '/' at start of string... */
         buf++;
 
-    ptr = prevptr = buf;
+    ptr = buf;
     if (*ptr == '\0')
         return 0;  /* Uh...I guess that's success. */