platform/win32.c
changeset 197 b59917ad3bae
parent 195 c9eef6e349a2
child 198 39274fb69c25
--- a/platform/win32.c	Fri Apr 12 23:50:20 2002 +0000
+++ b/platform/win32.c	Fri Apr 12 23:51:47 2002 +0000
@@ -142,22 +142,6 @@
 } /* __PHYSFS_platformGetUserName */
 
 
-static char *copyEnvironmentVariable(const char *varname)
-{
-    const char *envr = getenv(varname);
-    char *retval = NULL;
-
-    if (envr != NULL)
-    {
-        retval = malloc(strlen(envr) + 1);
-        if (retval != NULL)
-            strcpy(retval, envr);
-    } /* if */
-
-    return(retval);
-} /* copyEnvironmentVariable */
-
-
 char *__PHYSFS_platformGetUserDir(void)
 {
     char *userdir = NULL;