diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c
index 0450c5d8855083175ee942fd71f6d77d605d7e75..a9f04a18871baa59838af703ba7118268bfd6326 100644
--- a/libavcodec/nellymoserdec.c
+++ b/libavcodec/nellymoserdec.c
@@ -336,7 +336,6 @@ void nelly_decode_block(NellyMoserDecodeContext *s, unsigned char block[NELLY_BL
 static int decode_init(AVCodecContext * avctx) {
     NellyMoserDecodeContext *s = avctx->priv_data;
     int i;
-    float alpha;
 
     s->avctx = avctx;
     av_init_random(0, &s->random_state);