From 9dc4b0324817c8c06c06b0d902dae3c36323136d 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 --- 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 {