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:
parent
9293c3dc8d
commit
51f0807cb3
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue