mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 06:58:10 +00:00
[CDMAKE] Add 'DECLSPEC_NORETURN' to 'error_exit()' (#2893)
Detected by Cppcheck: doubleFree.
This commit is contained in:
parent
6808e40b3b
commit
5d88487cd1
1 changed files with 3 additions and 1 deletions
|
@ -312,7 +312,9 @@ This function edits and displays an error message and then jumps back to the
|
|||
error exit point in main().
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
static void error_exit(const char* fmt, ...)
|
||||
static
|
||||
DECLSPEC_NORETURN
|
||||
void error_exit(const char* fmt, ...)
|
||||
{
|
||||
va_list arg;
|
||||
|
||||
|
|
Loading…
Reference in a new issue