Whoops. Forgot to declare a variable.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 23 Aug 2001 15:39:07 +0000
changeset 70 203efbe2532e
parent 69 546a95cc5591
child 71 105bdb041c03
Whoops. Forgot to declare a variable.
platform/unix.c
--- a/platform/unix.c	Thu Aug 23 15:23:21 2001 +0000
+++ b/platform/unix.c	Thu Aug 23 15:39:07 2001 +0000
@@ -461,6 +461,7 @@
 
 int __PHYSFS_platformMkDir(const char *path)
 {
+    int rc;
     errno = 0;
     rc = mkdir(path, S_IRWXU);
     BAIL_IF_MACRO(rc == -1, strerror(errno), 0);