From 1e0ccebfea782b0bb76bb3ec745d732cdc8d726a Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sat, 12 Apr 2014 16:08:17 +0200 Subject: play: fix warnings when compiling with OPT_SIZE=1 --- src/play.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/play.c b/src/play.c index c2faa7b..43833f4 100644 --- a/src/play.c +++ b/src/play.c @@ -275,8 +275,8 @@ int play_file(struct play **playp, const char *filename, int repeat) { struct mbuf *mb; char path[512]; - uint32_t srate; - uint8_t ch; + uint32_t srate = 0; + uint8_t ch = 0; int err; if (playp && *playp) -- cgit v1.2.3