Skip to content

Commit

Permalink
fix(libsinsp): ignore maybe-uninitialized for valijson
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo authored and poiana committed Oct 25, 2023
1 parent 56b6e59 commit 7560806
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions userspace/libsinsp/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ limitations under the License.
#include <sstream>
#include <numeric>
#include <json/json.h>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#include <valijson/adapters/jsoncpp_adapter.hpp>
#pragma GCC diagnostic pop
#include <valijson/schema.hpp>
#include <valijson/schema_parser.hpp>
#include <valijson/validator.hpp>
Expand Down

0 comments on commit 7560806

Please sign in to comment.