shithub: dumb

Download patch

ref: d8def1dec261a9b7990fbf391ddc7b44e8ebd8ec
parent: affae6de24bf5bb8c5d9f49aa5e9c970c5f2a36b
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Mar 5 04:55:08 EST 2021

moddec: remove unneeded memset

--- a/examples/moddec.c
+++ b/examples/moddec.c
@@ -79,7 +79,6 @@
 			if(n < 1)
 				pos = 0.0;
 		}
-		memset(b, 0, sizeof(b));
 		n = duh_render_int(ren, &samp, &nsamp, 16, 0, 1.0, 65536.0f/SRATE, MAX(n, Nsamp), b);
 		if(n <= 0)
 			break;