1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-12 09:25:35 +01:00

Fix warnings for unused variables and functions

This commit is contained in:
Paul Licameli
2016-02-26 14:41:17 -05:00
parent 9f6192a442
commit 60bcd7aea2
22 changed files with 44 additions and 8 deletions

View File

@@ -173,6 +173,12 @@ wxString OggImportPlugin::GetPluginFormatDescription()
ImportFileHandle *OggImportPlugin::Open(const wxString &filename)
{
// Suppress some compiler warnings about unused global variables in the library header
wxUnusedVar(OV_CALLBACKS_DEFAULT);
wxUnusedVar(OV_CALLBACKS_NOCLOSE);
wxUnusedVar(OV_CALLBACKS_STREAMONLY);
wxUnusedVar(OV_CALLBACKS_STREAMONLY_NOCLOSE);
OggVorbis_File *vorbisFile = new OggVorbis_File;
wxFFile *file = new wxFFile(filename, wxT("rb"));