From a9bc076b45ad1950d67ec5f7408c67178d878e5f Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Wed, 31 Oct 2012 22:58:58 +0100 Subject: [PATCH] sectionsdclient: correctly initialize CurrentNextInfo with c'tor Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/9dc4b0324817c8c06c06b0d902dae3c36323136d Author: Stefan Seyfried Date: 2012-10-31 (Wed, 31 Oct 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- lib/sectionsdclient/sectionsdclient.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/sectionsdclient/sectionsdclient.h b/lib/sectionsdclient/sectionsdclient.h index 3d2d0d438..5c1e52300 100644 --- a/lib/sectionsdclient/sectionsdclient.h +++ b/lib/sectionsdclient/sectionsdclient.h @@ -149,7 +149,16 @@ class CSectionsdClient : private CBasicClient }; struct CurrentNextInfo : public responseGetCurrentNextInfoChannelID - {}; + { + CurrentNextInfo() { + current_uniqueKey = 0; + current_name = ""; + current_fsk = 0x0; + next_uniqueKey = 0; + next_name = ""; + flags = 0x0; + } + }; typedef struct {