mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-31 11:17:34 +02:00
clang-tidy: fixed clang-analyzer-optin.cplusplus.UninitializedObject
This commit is contained in:
@ -31,7 +31,7 @@ inline bool isLowSurrogate(uint16_t codeunit) {
|
|||||||
|
|
||||||
class Codepoint {
|
class Codepoint {
|
||||||
public:
|
public:
|
||||||
Codepoint() : _highSurrogate(0) {}
|
Codepoint() : _highSurrogate(0), _codepoint(0) {}
|
||||||
|
|
||||||
bool append(uint16_t codeunit) {
|
bool append(uint16_t codeunit) {
|
||||||
if (isHighSurrogate(codeunit)) {
|
if (isHighSurrogate(codeunit)) {
|
||||||
|
Reference in New Issue
Block a user