From 98233aa76d03790fcdb813d98dd872df466f6afd Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 2 Feb 2013 08:22:21 +0000 Subject: fixed gcc 4.7 warnings, replaced deprecated functions git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3197 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/flac/decoder_flac.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/plugins/Input/flac/decoder_flac.cpp') diff --git a/src/plugins/Input/flac/decoder_flac.cpp b/src/plugins/Input/flac/decoder_flac.cpp index 19646316f..454febdde 100644 --- a/src/plugins/Input/flac/decoder_flac.cpp +++ b/src/plugins/Input/flac/decoder_flac.cpp @@ -91,9 +91,6 @@ static int flac_decode (void *void_data, char *buf, int buf_len) { DecoderFLAC *dflac = (DecoderFLAC *) void_data; unsigned to_copy; - int bytes_per_sample; - - bytes_per_sample = dflac->data()->bits_per_sample / 8; if (!dflac->data()->sample_buffer_fill) { -- cgit v1.2.3-13-gbd6f