Skip to content

Commit 214c06b

Browse files
committed
clang-tidy: fixed clang-analyzer-optin.cplusplus.UninitializedObject
1 parent e32a855 commit 214c06b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoJson/Json/Utf16.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ inline bool isLowSurrogate(uint16_t codeunit) {
3131

3232
class Codepoint {
3333
public:
34-
Codepoint() : _highSurrogate(0) {}
34+
Codepoint() : _highSurrogate(0), _codepoint(0) {}
3535

3636
bool append(uint16_t codeunit) {
3737
if (isHighSurrogate(codeunit)) {

0 commit comments

Comments
 (0)