fix warnings

This commit is contained in:
Diavolo 2023-01-17 20:37:42 +01:00
parent 4459132c05
commit e92c628422
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);