]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.c
fix MSVC2008 compilation again
[xonotic/darkplaces.git] / fs.c
diff --git a/fs.c b/fs.c
index a5834035e67841f96694caacf7c2fb26b3421000..abe57f424c7c5a4d2fb5630caab0aa182199b4af 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1377,6 +1377,8 @@ void FS_Rescan (void)
                else
                        Con_Print("Playing shareware version.\n");
                break;
+       default:
+               break;
        }
 
        // unload all wads so that future queries will return the new data
@@ -1498,7 +1500,6 @@ void FS_GameDir_f (void)
        FS_ChangeGameDirs(numgamedirs, gamedirs, true, true);
 }
 
-static qfile_t* FS_SysOpen (const char* filepath, const char* mode, qboolean nonblocking);
 static const char *FS_SysCheckGameDir(const char *gamedir)
 {
        static char buf[8192];
@@ -1926,7 +1927,7 @@ FS_SysOpen
 Internal function used to create a qfile_t and open the relevant non-packed file on disk
 ====================
 */
-static qfile_t* FS_SysOpen (const char* filepath, const char* mode, qboolean nonblocking)
+qfile_t* FS_SysOpen (const char* filepath, const char* mode, qboolean nonblocking)
 {
        qfile_t* file;