- added [[noreturn]] to several functions that always throw exceptions.
This commit is contained in:
parent
7d81417829
commit
9c75a38ec3
7 changed files with 14 additions and 14 deletions
|
|
@ -75,8 +75,8 @@ enum
|
|||
};
|
||||
|
||||
|
||||
void I_Error(const char *fmt, ...) ATTRIBUTE((format(printf,1,2)));
|
||||
void I_FatalError(const char* fmt, ...) ATTRIBUTE((format(printf, 1, 2)));
|
||||
[[noreturn]] void I_Error(const char *fmt, ...) ATTRIBUTE((format(printf,1,2)));
|
||||
[[noreturn]] void I_FatalError(const char* fmt, ...) ATTRIBUTE((format(printf, 1, 2)));
|
||||
|
||||
// This really could need some cleanup - the main problem is that it'd create
|
||||
// lots of potential for merge conflicts.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue