From ee4fa90032d903b6030e7576af2b1d2e0d12ada8 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 22 Jul 2006 13:43:01 +0200 Subject: [PATCH] Added a missing initialization of 'mutex' in cCiMenu::cCiMenu() and removed some superfluous semicolons in ci.c --- CONTRIBUTORS | 2 ++ HISTORY | 2 ++ ci.c | 7 ++++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 45135287..8f1c1770 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1365,6 +1365,8 @@ Marco Schl and PremiereContentTransmissionDescriptor to 'libsi' for pointing out that plugins might be compiled with different DVB driver header files than VDR itself + for adding a missing initialization of 'mutex' in cCiMenu::cCiMenu() and removing + some superfluous semicolons in ci.c Jürgen Schmitz for reporting a bug in displaying the current channel when switching via the SVDRP diff --git a/HISTORY b/HISTORY index aa964c89..f19f88d3 100644 --- a/HISTORY +++ b/HISTORY @@ -4822,3 +4822,5 @@ Video Disk Recorder Revision History Maier). - Fixed handling relative volume settings in the call to cStatus::MsgSetVolume() (reported by Norbert Wentz). +- Added a missing initialization of 'mutex' in cCiMenu::cCiMenu() and removed + some superfluous semicolons in ci.c (thanks to Marco Schlüßler). diff --git a/ci.c b/ci.c index 863be533..e6bfa72b 100644 --- a/ci.c +++ b/ci.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.c 1.42 2006/01/07 15:07:16 kls Exp $ + * $Id: ci.c 1.43 2006/07/22 13:40:30 kls Exp $ */ #include "ci.h" @@ -1387,6 +1387,7 @@ bool cCiMMI::SendCloseMMI(void) cCiMenu::cCiMenu(cCiMMI *MMI, bool Selectable) { mmi = MMI; + mutex = NULL; selectable = Selectable; titleText = subTitleText = bottomText = NULL; numEntries = 0; @@ -1445,8 +1446,8 @@ cCiEnquiry::cCiEnquiry(cCiMMI *MMI) { mmi = MMI; text = NULL; - blind = false;; - expectedLength = 0;; + blind = false; + expectedLength = 0; } cCiEnquiry::~cCiEnquiry()