diff options
| author | 2021-04-04 23:42:15 +0100 | |
|---|---|---|
| committer | 2021-04-04 23:42:15 +0100 | |
| commit | 7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 (patch) | |
| tree | f5a81d03f572392e7547d58f979fdd488de6ff0b /src/inspircd.cpp | |
| parent | Remove the unused ExitCodes array. (diff) | |
| download | inspircd++-7d84e4900fa8f4ef96e8cf4bb67b76be7902e840.tar.gz inspircd++-7d84e4900fa8f4ef96e8cf4bb67b76be7902e840.tar.bz2 inspircd++-7d84e4900fa8f4ef96e8cf4bb67b76be7902e840.zip | |
Fix a ton of pedantic compiler warnings.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 526514329..a934a5b62 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -65,6 +65,7 @@ unsigned const char* national_case_insensitive_map = ascii_case_insensitive_map; namespace { + [[noreturn]] void VoidSignalHandler(int); // Warns a user running as root that they probably shouldn't. @@ -309,7 +310,6 @@ namespace << con_bright << "Usage: " << con_reset << argv[0] << " [--config <file>] [--debug] [--nofork] [--nolog]" << std::endl << std::string(strlen(argv[0]) + 8, ' ') << "[--nopid] [--runasroot] [--version]" << std::endl; ServerInstance->Exit(EXIT_STATUS_ARGV); - break; } } |
