From ac6c382a7cfab28a49f49f26ff4061837ce6de74 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 22 Jan 2018 14:18:59 +0100 Subject: [PATCH] zapit/capmt: fix uninitialized ca_map_t no_camap Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/5077be0679388a7d7a59cbc39e0196a5a28750bb Author: vanhofen Date: 2018-01-22 (Mon, 22 Jan 2018) Origin message was: ------------------ - zapit/capmt: fix uninitialized ca_map_t no_camap ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/capmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zapit/src/capmt.cpp b/src/zapit/src/capmt.cpp index cf0fb285a..cf6162ad8 100644 --- a/src/zapit/src/capmt.cpp +++ b/src/zapit/src/capmt.cpp @@ -438,7 +438,7 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start } else { INFO("\033[33m (oldmask != newmask) || force_update) - no CI needed\033[0m"); //no CI needed - ca_map_t no_camap; + ca_map_t no_camap = std::set(); cam->sendCaPmt(channel->getChannelID(), buffer, len, CA_SLOT_TYPE_CI, false /*channel->scrambled*/, no_camap /*channel->camap*/, mode, start); } }