mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +01:00
Linty fixes
This commit fixes a number of warnings shown in compilation with MSVC. No behavioral changes intended. I did not fix signed/unsigned warnings.
This commit is contained in:
@@ -53,7 +53,7 @@ try
|
||||
mAudioFileName = std::move(audioFileName);
|
||||
mFormat = int16Sample;
|
||||
}
|
||||
catch ( const FileException & e )
|
||||
catch ( const FileException & WXUNUSED(e) )
|
||||
{
|
||||
// The constructor SimpleBlockFile sometimes throws this,
|
||||
// but it never will for the arguments that were passed to it here.
|
||||
@@ -319,7 +319,7 @@ bool ODDecodeBlockFile::IsSummaryAvailable() const
|
||||
|
||||
bool ODDecodeBlockFile::IsDataAvailable() const
|
||||
{
|
||||
return mDataAvailable;
|
||||
return mDataAvailable != 0;
|
||||
}
|
||||
|
||||
/// Write the summary to disk, using the derived ReadData() to get the data
|
||||
|
||||
Reference in New Issue
Block a user