summaryrefslogtreecommitdiff
path: root/src/play.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-04-12 16:08:17 +0200
committerAlfred E. Heggestad <aeh@db.org>2014-04-12 16:08:17 +0200
commit1e0ccebfea782b0bb76bb3ec745d732cdc8d726a (patch)
tree83f0a57ac79e31421637d893fbec193549b98a60 /src/play.c
parentc789e9a72c9f65f8f598823da0adb82cde2b3bce (diff)
play: fix warnings when compiling with OPT_SIZE=1
Diffstat (limited to 'src/play.c')
-rw-r--r--src/play.c4
1 files changed, 2 insertions, 2 deletions
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)