Added a missing initialization of 'mutex' in cCiMenu::cCiMenu() and removed some superfluous semicolons in ci.c

This commit is contained in:
Klaus Schmidinger 2006-07-22 13:43:01 +02:00
parent 8f3ae72e9d
commit ee4fa90032
3 changed files with 8 additions and 3 deletions

View File

@ -1365,6 +1365,8 @@ Marco Schl
and PremiereContentTransmissionDescriptor to 'libsi' and PremiereContentTransmissionDescriptor to 'libsi'
for pointing out that plugins might be compiled with different DVB driver header for pointing out that plugins might be compiled with different DVB driver header
files than VDR itself 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 <j.schmitz@web.de> Jürgen Schmitz <j.schmitz@web.de>
for reporting a bug in displaying the current channel when switching via the SVDRP for reporting a bug in displaying the current channel when switching via the SVDRP

View File

@ -4822,3 +4822,5 @@ Video Disk Recorder Revision History
Maier). Maier).
- Fixed handling relative volume settings in the call to cStatus::MsgSetVolume() - Fixed handling relative volume settings in the call to cStatus::MsgSetVolume()
(reported by Norbert Wentz). (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).

7
ci.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "ci.h"
@ -1387,6 +1387,7 @@ bool cCiMMI::SendCloseMMI(void)
cCiMenu::cCiMenu(cCiMMI *MMI, bool Selectable) cCiMenu::cCiMenu(cCiMMI *MMI, bool Selectable)
{ {
mmi = MMI; mmi = MMI;
mutex = NULL;
selectable = Selectable; selectable = Selectable;
titleText = subTitleText = bottomText = NULL; titleText = subTitleText = bottomText = NULL;
numEntries = 0; numEntries = 0;
@ -1445,8 +1446,8 @@ cCiEnquiry::cCiEnquiry(cCiMMI *MMI)
{ {
mmi = MMI; mmi = MMI;
text = NULL; text = NULL;
blind = false;; blind = false;
expectedLength = 0;; expectedLength = 0;
} }
cCiEnquiry::~cCiEnquiry() cCiEnquiry::~cCiEnquiry()