Fix some compiler warnings and add corresponding compiler flags

This commit is contained in:
Volo Zyko
2024-08-29 15:05:52 +03:00
parent f6fc91a051
commit dfcc8d513d
14 changed files with 79 additions and 72 deletions

View File

@@ -68,7 +68,7 @@ void nxdn_voice (dsd_opts * opts, dsd_state * state, int voice, uint8_t dbuf[182
if (voice == 2) start = 2;
if (voice == 2 || voice == 3) stop = 4;
for (start; start < stop; start++)
for (; start < stop; start++)
{
w = nW;
x = nX;