Skip to content

Commit c4a4ed5

Browse files
committed
clang-tidy: muted "uninitialized field" in Latch
1 parent a24edac commit c4a4ed5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ArduinoJson/Json/Latch.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class Latch {
4545
}
4646

4747
TReader _reader;
48-
char _current;
48+
char _current; // NOLINT(clang-analyzer-optin.cplusplus.UninitializedObject)
49+
// Not initialized in constructor (+10 bytes on AVR)
4950
bool _loaded;
5051
#if ARDUINOJSON_DEBUG
5152
bool _ended;

0 commit comments

Comments
 (0)