From d4061a46d83a6f0060f36bb6455c8e4d67f3f98c Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sun, 16 Jun 2013 18:21:18 +0200 Subject: [PATCH] Silence some (harmless) warnings. Change-Id: I8d1278b8cfaa376d2ad5a99dd552dc980c66e1da --- apps/plugins/mpegplayer/stream_mgr.c | 2 +- lib/rbcodec/codecs/libgme/inflate/inflate.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/plugins/mpegplayer/stream_mgr.c b/apps/plugins/mpegplayer/stream_mgr.c index 6607402d5a..7c862d58fb 100644 --- a/apps/plugins/mpegplayer/stream_mgr.c +++ b/apps/plugins/mpegplayer/stream_mgr.c @@ -561,7 +561,7 @@ static void stream_on_seek(struct stream_seek_data *skd) /* Either seeking must be possible or a full rewind must be done */ if (stream_can_seek() || time_from_whence(time, whence) == 0) { - bool buffer; + bool buffer = false; if (stream_mgr.status == STREAM_PLAYING) { diff --git a/lib/rbcodec/codecs/libgme/inflate/inflate.c b/lib/rbcodec/codecs/libgme/inflate/inflate.c index 130abe89be..3ea3cf51ff 100644 --- a/lib/rbcodec/codecs/libgme/inflate/inflate.c +++ b/lib/rbcodec/codecs/libgme/inflate/inflate.c @@ -991,7 +991,6 @@ USE_DESKTOP(long long) static int inflate_unzip(struct mbreader_t *in,char* outbuffer,uint32_t outbuflen) { USE_DESKTOP(long long total = 0; ) - typedef void (*sig_type)(int); /* Allocate all global buffers (for DYN_ALLOC option) */ gunzip_outbuf_count = 0;