mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Fix compiler warning from gcc-6.1.1
This commit is contained in:
@@ -1408,9 +1408,10 @@ void error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderError
|
||||
{
|
||||
DecoderSession *decoder_session = (DecoderSession*)client_data;
|
||||
(void)decoder;
|
||||
if(!decoder_session->error_callback_suppress_messages)
|
||||
if(!decoder_session->error_callback_suppress_messages) {
|
||||
stats_print_name(1, decoder_session->inbasefilename);
|
||||
flac__utils_printf(stderr, 1, "*** Got error code %d:%s\n", status, FLAC__StreamDecoderErrorStatusString[status]);
|
||||
}
|
||||
if(!decoder_session->continue_through_decode_errors) {
|
||||
/* if we got a sync error while looking for metadata, either it's not a FLAC file (more likely) or the file is corrupted */
|
||||
if(
|
||||
|
||||
@@ -74,11 +74,13 @@
|
||||
|
||||
|
||||
/* these are flags in EDX of CPUID AX=00000001 */
|
||||
#if defined FLAC__CPU_IA32
|
||||
static const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV = 0x00008000;
|
||||
static const unsigned FLAC__CPUINFO_IA32_CPUID_MMX = 0x00800000;
|
||||
static const unsigned FLAC__CPUINFO_IA32_CPUID_FXSR = 0x01000000;
|
||||
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE = 0x02000000;
|
||||
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE2 = 0x04000000;
|
||||
#endif
|
||||
|
||||
/* these are flags in ECX of CPUID AX=00000001 */
|
||||
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001;
|
||||
|
||||
Reference in New Issue
Block a user