1
0
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:
James Crook
2017-11-07 09:14:00 +00:00
parent 26a6815db8
commit c28be778e2
9 changed files with 9 additions and 9 deletions

View File

@@ -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