We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4a4ed5 commit de11b36Copy full SHA for de11b36
src/ArduinoJson/StringStorage/StringCopier.hpp
@@ -55,8 +55,12 @@ class StringCopier {
55
56
private:
57
MemoryPool* _pool;
58
+
59
+ // These fields aren't initialized by the constructor but startString()
60
+ //
61
+ // NOLINTNEXTLINE(clang-analyzer-optin.cplusplus.UninitializedObject)
62
char* _ptr;
- size_t _size;
- size_t _capacity;
63
64
+ size_t _size, _capacity;
65
};
66
} // namespace ARDUINOJSON_NAMESPACE
0 commit comments