]> hydra-www.ietfng.org Git - acmetensortoys-chiptunes/commitdiff
Silence compiler warning about unused parameter in SDL callback
authorNathaniel Wesley Filardo <nwf@pf.priv.oc.ietfng.org>
Sun, 28 Feb 2010 05:48:39 +0000 (00:48 -0500)
committerNathaniel Wesley Filardo <nwf@pf.priv.oc.ietfng.org>
Sun, 28 Feb 2010 05:48:39 +0000 (00:48 -0500)
tracker/main.c

index 0e65317451099eb6e841bc79c092dfaf0fc4d110..92a0a71c5be9df9700071840f203c461d41fe9ff 100644 (file)
@@ -54,6 +54,7 @@ const struct track trackdata = {
 };
 
 void audiocb(void *userdata, Uint8 *buf, int len) {
+    (void) userdata;        /* Unused parameter */
        int i;
 
        for(i = 0; i < len; i++) {