From 17f7f66fc9531e5e31f4886003ed014579c60231 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Tue, 5 Nov 2019 17:23:12 +0100 Subject: [PATCH] Documentation : Comment an always true expression Signed-off-by: Gabriel Ravier --- src/Sound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sound.cpp b/src/Sound.cpp index b4de9a0f..1e35fb1b 100644 --- a/src/Sound.cpp +++ b/src/Sound.cpp @@ -368,10 +368,10 @@ int MakePixToneObject(const PIXTONEPARAMETER *ptp, int ptp_num, int no) { if (!MakePixelWaveData(ptp_pointer, pcm_buffer)) { - if (pcm_buffer != NULL) + if (pcm_buffer != NULL) // This is always true free(pcm_buffer); - if (mixed_pcm_buffer != NULL) + if (mixed_pcm_buffer != NULL) // This is always true free(mixed_pcm_buffer); return -1;