Remove unused functions and variables in platform_windows.

Under gcc 5.3.0, the presence of these functions and variables generate unused
function / unused variable warnings, which in combination with -Werror causes
a compile error.
This commit is contained in:
David Yip 2016-08-15 05:41:36 -05:00
parent 9293c3dc8d
commit 51f0807cb3
1 changed files with 0 additions and 10 deletions

View File

@ -480,14 +480,6 @@ void *__PHYSFS_platformGetThreadID(void)
return ( (void *) ((size_t) GetCurrentThreadId()) );
} /* __PHYSFS_platformGetThreadID */
static int isSymlinkAttrs(const DWORD attr, const DWORD tag)
{
return ( (attr & FILE_ATTRIBUTE_REPARSE_POINT) &&
(tag == PHYSFS_IO_REPARSE_TAG_SYMLINK) );
} /* isSymlinkAttrs */
void __PHYSFS_platformEnumerateFiles(const char *dirname,
PHYSFS_EnumFilesCallback callback,
const char *origdir,
@ -530,8 +522,6 @@ void __PHYSFS_platformEnumerateFiles(const char *dirname,
do
{
const DWORD attr = entw.dwFileAttributes;
const DWORD tag = entw.dwReserved0;
const WCHAR *fn = entw.cFileName;
char *utf8;