shithub: sox

Download patch

ref: 056b062e8874931b0c71074bc74866703009015b
parent: 2ad2bd7c53aa33ec813df3a3b7a8796525b06ed2
author: Mans Rullgard <mans@mansr.com>
date: Fri Jul 31 13:13:15 EDT 2020

spectrogram: silence compiler warnings

--- a/src/spectrogram.c
+++ b/src/spectrogram.c
@@ -214,8 +214,8 @@
   int i, j;
   for (j = 0; j <= n / 2; ++j) {
     double re = 0, im = 0;
-    for (i = 0; i < (n & ~7);) _ _ _ _ _ _ _ _ 0;
-    while (i < n) _ 0;
+    for (i = 0; i < (n & ~7);) _ _ _ _ _ _ _ _ (void)0;
+    while (i < n) _ (void)0;
     *out++ += re * re + im * im;
   }
 }