diff options
Diffstat (limited to 'src/web_service/verify_user_jwt.cpp')
-rw-r--r-- | src/web_service/verify_user_jwt.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/web_service/verify_user_jwt.cpp b/src/web_service/verify_user_jwt.cpp index 78fe7bed5..3133dcbe2 100644 --- a/src/web_service/verify_user_jwt.cpp +++ b/src/web_service/verify_user_jwt.cpp @@ -2,8 +2,16 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include <system_error> +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" +#endif #include <jwt/jwt.hpp> +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic pop +#endif + +#include <system_error> #include "common/logging/log.h" #include "web_service/verify_user_jwt.h" #include "web_service/web_backend.h" |