Removed redundant memset() in the ctor of cSatCableNumbers

This commit is contained in:
Klaus Schmidinger 2011-12-10 14:37:55 +01:00
parent 7d590428ec
commit da352e63c6
3 changed files with 5 additions and 2 deletions

View File

@ -1929,6 +1929,8 @@ Ville Skytt
for adding generating a pkg-config file to the Makefile for adding generating a pkg-config file to the Makefile
for removing the '.pl' suffix from all scripts for removing the '.pl' suffix from all scripts
for changing the default location for the LIRC socket to /var/run/lirc/lircd for changing the default location for the LIRC socket to /var/run/lirc/lircd
for pointing out that the argument sequence in the memset() call in the ctor of
cSatCableNumbers was wrong
Steffen Beyer <cpunk@reactor.de> Steffen Beyer <cpunk@reactor.de>
for fixing setting the colored button help after deleting a recording in case the next for fixing setting the colored button help after deleting a recording in case the next

View File

@ -6789,3 +6789,5 @@ Video Disk Recorder Revision History
Sundararaj Reel). Sundararaj Reel).
- Fixed a memory leak in cRecordings::ScanVideoDir() in case there are too many - Fixed a memory leak in cRecordings::ScanVideoDir() in case there are too many
link levels (reported by Sundararaj Reel). link levels (reported by Sundararaj Reel).
- Removed redundant memset() in the ctor of cSatCableNumbers (triggered by
Ville Skyttä pointing out that the argument sequence in the call was wrong).

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: config.c 2.16 2011/12/03 15:21:30 kls Exp $ * $Id: config.c 2.17 2011/12/10 14:33:27 kls Exp $
*/ */
#include "config.h" #include "config.h"
@ -69,7 +69,6 @@ cSatCableNumbers::cSatCableNumbers(int Size, const char *s)
{ {
size = Size; size = Size;
array = MALLOC(int, size); array = MALLOC(int, size);
memset(array, size * sizeof(int), 0);
FromString(s); FromString(s);
} }