diff --git a/erpc_c/infra/erpc_basic_codec.cpp b/erpc_c/infra/erpc_basic_codec.cpp index 6bdb68e3..656c228a 100644 --- a/erpc_c/infra/erpc_basic_codec.cpp +++ b/erpc_c/infra/erpc_basic_codec.cpp @@ -289,7 +289,7 @@ void BasicCodec::read(double &value) void BasicCodec::readPtr(uintptr_t &value) { - uint8_t ptrSize; + uint8_t ptrSize = 0; read(ptrSize);