mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 19:09:01 +00:00
Let MSVC know about noreturn attribute to help with code analysis
This commit is contained in:
@@ -129,6 +129,9 @@
|
||||
#include "nbase.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef WIN32
|
||||
__declspec(noreturn)
|
||||
#endif
|
||||
static void fatal(char *fmt, ...)
|
||||
__attribute__ ((noreturn))
|
||||
__attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
Reference in New Issue
Block a user