Browse Source

passphrase_cache: missing init

pull/15/head
heck 3 years ago
parent
commit
b302a3a2cb
  1. 4
      src/message_cache.cc

4
src/message_cache.cc

@ -478,7 +478,7 @@ namespace pEp {
PEP_enc_format enc_format,
PEP_encrypt_flags_t flags)
{
::message *_msg;
::message *_msg{ nullptr };
std::string _id = cacheID(src);
{
std::lock_guard<std::mutex> l(_mtx);
@ -509,7 +509,7 @@ namespace pEp {
PEP_enc_format enc_format,
PEP_encrypt_flags_t flags)
{
::message *_msg;
::message *_msg{ nullptr };
std::string _id = cacheID(src);
{
std::lock_guard<std::mutex> l(_mtx);

Loading…
Cancel
Save