mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 22:49:02 +00:00
Let MSVC know about noreturn attribute to help with code analysis
This commit is contained in:
@@ -168,6 +168,9 @@ do { \
|
||||
|
||||
void die(char *);
|
||||
|
||||
#ifdef WIN32
|
||||
__declspec(noreturn)
|
||||
#endif
|
||||
void bye(const char *, ...)
|
||||
__attribute__ ((noreturn))
|
||||
__attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
Reference in New Issue
Block a user