Explorar o código

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

Ryan C. Gordon %!s(int64=9) %!d(string=hai) anos
pai
achega
468edd80eb
Modificáronse 1 ficheiros con 1 adicións e 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. */