fix warnings
This commit is contained in:
parent
4459132c05
commit
e92c628422
@ -553,7 +553,7 @@ namespace game
|
|||||||
InterlockedDecrement(&critSect->readCount);
|
InterlockedDecrement(&critSect->readCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Sys_OutOfMemErrorInternal(const char* filename, int line)
|
[[noreturn]] void Sys_OutOfMemErrorInternal(const char* filename, int line)
|
||||||
{
|
{
|
||||||
Sys_EnterCriticalSection(CRITSECT_FATAL_ERROR);
|
Sys_EnterCriticalSection(CRITSECT_FATAL_ERROR);
|
||||||
|
|
||||||
|
@ -393,7 +393,7 @@ namespace game
|
|||||||
bool Sys_IsServerThread();
|
bool Sys_IsServerThread();
|
||||||
void Sys_LockRead(FastCriticalSection* critSect);
|
void Sys_LockRead(FastCriticalSection* critSect);
|
||||||
void Sys_UnlockRead(FastCriticalSection* critSect);
|
void Sys_UnlockRead(FastCriticalSection* critSect);
|
||||||
void Sys_OutOfMemErrorInternal(const char* filename, int line);
|
[[noreturn]] void Sys_OutOfMemErrorInternal(const char* filename, int line);
|
||||||
|
|
||||||
bool FS_Initialized();
|
bool FS_Initialized();
|
||||||
int FS_FOpenFileReadForThread(const char* filename, int* file, FsThread thread);
|
int FS_FOpenFileReadForThread(const char* filename, int* file, FsThread thread);
|
||||||
|
Loading…
Reference in New Issue
Block a user