[Commits] SDL: qnx: Removed unnecessary call to SDL_zerop() after SDL_call...

libsdl.org revision control commits-owner at libsdl.org
Sun May 28 13:00:29 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/8dc8b2ed306e
changeset: 11046:8dc8b2ed306e
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Sun May 28 21:50:27 2017 +0200
description:
qnx: Removed unnecessary call to SDL_zerop() after SDL_calloc().

diffstat:

 src/audio/qsa/SDL_qsa_audio.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r cf4e14eedfdf -r 8dc8b2ed306e src/audio/qsa/SDL_qsa_audio.c
--- a/src/audio/qsa/SDL_qsa_audio.c	Sun May 28 21:50:11 2017 +0200
+++ b/src/audio/qsa/SDL_qsa_audio.c	Sun May 28 21:50:27 2017 +0200
@@ -357,7 +357,6 @@
     if (this->hidden == NULL) {
         return SDL_OutOfMemory();
     }
-    SDL_zerop(this->hidden);
 
     /* Initialize channel transfer parameters to default */
     QSA_InitAudioParams(&cparams);


More information about the commits mailing list