1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-11-08 20:12:27 +01:00

Resolve gcc compiler warnings in ARM environment

This commit is contained in:
Olli Parviainen 2023-04-02 18:48:28 +03:00
parent cc24adfc6d
commit b477936716
3 changed files with 3 additions and 1 deletions

View File

@ -450,7 +450,7 @@ int WavInFile::read(float *buffer, int maxElems)
int WavInFile::eof() const int WavInFile::eof() const
{ {
// return true if all data has been read or file eof has reached // return true if all data has been read or file eof has reached
return (dataRead == header.data.data_len || feof(fptr)); return ((uint)dataRead == header.data.data_len || feof(fptr));
} }

View File

@ -283,6 +283,7 @@ void * FIRFilter::operator new(size_t)
FIRFilter * FIRFilter::newInstance() FIRFilter * FIRFilter::newInstance()
{ {
__attribute__((unused))
uint uExtensions; uint uExtensions;
uExtensions = detectCPUextensions(); uExtensions = detectCPUextensions();

View File

@ -750,6 +750,7 @@ void * TDStretch::operator new(size_t)
TDStretch * TDStretch::newInstance() TDStretch * TDStretch::newInstance()
{ {
__attribute__((unused))
uint uExtensions; uint uExtensions;
uExtensions = detectCPUextensions(); uExtensions = detectCPUextensions();