aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-07-25 03:50:04 +0100
committerGravatar Sadie Powell2020-07-25 03:50:04 +0100
commitf3ee36eb9cef062d2faafcb98b749f77344c43fc (patch)
treebd0a1ce7fe57bbcee8cc0daaab6ad79cea3af00b /src/modules
parentClean up ISUPPORT code and implement support for ISUPPORT updates. (diff)
downloadinspircd++-f3ee36eb9cef062d2faafcb98b749f77344c43fc.tar.gz
inspircd++-f3ee36eb9cef062d2faafcb98b749f77344c43fc.tar.bz2
inspircd++-f3ee36eb9cef062d2faafcb98b749f77344c43fc.zip
Remove obsolete silencing of C++11 warnings from ssl_mbedtls.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_mbedtls.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/extra/m_ssl_mbedtls.cpp b/src/modules/extra/m_ssl_mbedtls.cpp
index cfe8a125d..571f61eeb 100644
--- a/src/modules/extra/m_ssl_mbedtls.cpp
+++ b/src/modules/extra/m_ssl_mbedtls.cpp
@@ -29,17 +29,6 @@
#include "inspircd.h"
#include "modules/ssl.h"
-// Fix warnings about the use of commas at end of enumerator lists on C++03.
-#if defined __clang__
-# pragma clang diagnostic ignored "-Wc++11-extensions"
-#elif defined __GNUC__
-# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 8))
-# pragma GCC diagnostic ignored "-Wpedantic"
-# else
-# pragma GCC diagnostic ignored "-pedantic"
-# endif
-#endif
-
#include <mbedtls/ctr_drbg.h>
#include <mbedtls/dhm.h>
#include <mbedtls/ecp.h>