From 51c5f1a73a0ac2cf90dd22579832e9446f8305be Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Thu, 10 Aug 2023 19:27:03 +0200 Subject: [PATCH] Fix a Clang-Tidy warning --- src/ArduinoJson/Variant/JsonVariantConst.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ArduinoJson/Variant/JsonVariantConst.hpp b/src/ArduinoJson/Variant/JsonVariantConst.hpp index 41e8fbb7..03ca50f9 100644 --- a/src/ArduinoJson/Variant/JsonVariantConst.hpp +++ b/src/ArduinoJson/Variant/JsonVariantConst.hpp @@ -29,7 +29,7 @@ class JsonVariantConst : public detail::VariantTag, public: // Creates an unbound reference. - JsonVariantConst() : data_(0) {} + JsonVariantConst() : data_(nullptr), resources_(nullptr) {} // INTERNAL USE ONLY explicit JsonVariantConst(const detail::VariantData* data,