Parcourir la source

Whoops. Forgot to declare a variable.

Ryan C. Gordon il y a 24 ans
Parent
commit
3deb942440
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      platform/unix.c

+ 1 - 0
platform/unix.c

@@ -461,6 +461,7 @@ char *__PHYSFS_platformRealPath(const char *path)
 
 int __PHYSFS_platformMkDir(const char *path)
 {
+    int rc;
     errno = 0;
     rc = mkdir(path, S_IRWXU);
     BAIL_IF_MACRO(rc == -1, strerror(errno), 0);