From d063561b274d62011b5f54df89c7451c939b355e Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 20 Nov 2020 11:15:04 +0100 Subject: [PATCH] ignore known warnings --- mbus/mbus-protocol.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mbus/mbus-protocol.c b/mbus/mbus-protocol.c index 9312364..3e9b99d 100755 --- a/mbus/mbus-protocol.c +++ b/mbus/mbus-protocol.c @@ -1,3 +1,8 @@ +#pragma GCC diagnostic push +// ignore these warnings, it is third party code +#pragma GCC diagnostic ignored "-Wpointer-sign" +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" + //------------------------------------------------------------------------------ // Copyright (C) 2010-2011, Robert Johansson, Raditex AB // All rights reserved. @@ -5249,3 +5254,5 @@ mbus_is_secondary_address(const char * value) return 1; } + +#pragma GCC diagnostic pop \ No newline at end of file