summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-12-10 14:37:55 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2011-12-10 14:37:55 +0100
commitda352e63c67c0e998bddbd293f9415d2f54a2b20 (patch)
tree94b1c72d8eb885a45fb595726fdf00d5c590bc3d
parent7d590428ec87706dd5b432f648c80184beaf989a (diff)
downloadvdr-da352e63c67c0e998bddbd293f9415d2f54a2b20.tar.gz
vdr-da352e63c67c0e998bddbd293f9415d2f54a2b20.tar.bz2
Removed redundant memset() in the ctor of cSatCableNumbers
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY2
-rw-r--r--config.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 1c58564c..893dc0b9 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1929,6 +1929,8 @@ Ville Skyttä <ville.skytta@iki.fi>
for adding generating a pkg-config file to the Makefile
for removing the '.pl' suffix from all scripts
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>
for fixing setting the colored button help after deleting a recording in case the next
diff --git a/HISTORY b/HISTORY
index fd03fb4f..1ed1f272 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6789,3 +6789,5 @@ Video Disk Recorder Revision History
Sundararaj Reel).
- Fixed a memory leak in cRecordings::ScanVideoDir() in case there are too many
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).
diff --git a/config.c b/config.c
index 94f68454..a3f67246 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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"
@@ -69,7 +69,6 @@ cSatCableNumbers::cSatCableNumbers(int Size, const char *s)
{
size = Size;
array = MALLOC(int, size);
- memset(array, size * sizeof(int), 0);
FromString(s);
}