aboutsummaryrefslogtreecommitdiff
path: root/libopna/opna.c
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2018-01-06 23:00:54 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2018-01-06 23:00:54 +0900
commit1d2a45e348857f65cc7590b2e7f1b39c30216f92 (patch)
treecf99937e875dba4ca0ebc0a5f1245fdecd7dbe20 /libopna/opna.c
parent534f7d138dd05ce938447ec8fe625899f3a4c857 (diff)
fixed compiler warnings for sdl
Diffstat (limited to 'libopna/opna.c')
-rw-r--r--libopna/opna.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopna/opna.c b/libopna/opna.c
index 8998a59..5c87127 100644
--- a/libopna/opna.c
+++ b/libopna/opna.c
@@ -44,6 +44,7 @@ void opna_mix_oscillo(struct opna *opna, int16_t *buf, unsigned samples, struct
struct oscillodata *oscillofm = oscillo ? &oscillo[0] : 0;
struct oscillodata *oscillossg = oscillo ? &oscillo[6] : 0;
#else
+ (void)oscillo;
struct oscillodata *oscillofm = 0, *oscillossg = 0;
unsigned offset = 0;
#endif