- added [[noreturn]] to several functions that always throw exceptions.

This commit is contained in:
Christoph Oelckers 2022-11-05 09:09:00 +01:00
commit 9c75a38ec3
7 changed files with 14 additions and 14 deletions

View file

@ -110,7 +110,7 @@ public:
};
void I_ShowFatalError(const char *message);
void I_Error (const char *error, ...) GCCPRINTF(1,2);
void I_FatalError (const char *error, ...) GCCPRINTF(1,2);
[[noreturn]] void I_Error (const char *error, ...) GCCPRINTF(1,2);
[[noreturn]] void I_FatalError (const char *error, ...) GCCPRINTF(1,2);
#endif //__ERRORS_H__