From 97f2770982c3425226d284e6dacae8632b022610 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 13 Nov 2023 09:25:41 +0100 Subject: [PATCH] Ignore mbedtls header sitch-enum warnings --- client/src/cmdsmartcard.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/cmdsmartcard.c b/client/src/cmdsmartcard.c index 2d6ed052a..488e5b9d8 100644 --- a/client/src/cmdsmartcard.c +++ b/client/src/cmdsmartcard.c @@ -33,7 +33,12 @@ #include "crc16.h" // crc #include "cliparser.h" // cliparsing #include "atrs.h" // ATR lookup + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wswitch-enum" #include "mbedtls/net_sockets.h" +#pragma GCC diagnostic pop + #include "mifare.h" #include "util_posix.h" #include "cmdhf14a.h"