Re: [Audacity-devel] [audacity] r12482 committed - Cleanup: Fixed lots of trivial MSVC warnings.
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Benjamin D. <bd...@de...> - 2013-08-26 22:05:38
|
The error message _was_ on Linux: g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -I../lib-src/portmixer/include -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../lib-src/FileDialog -I/build/buildd/audacity-2.0.3 +svn20130826+r7762/lib-src/lib-widget-extra -I../lib-src/libsoxr/src -I/usr/include/soundtouch -I../lib-src/libnyquist -g -O2 -Wall -I/usr/include/portSMF -pthread -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -I./include -I. -DLIBDIR=\"/usr/lib\" -D__STDC_CONSTANT_MACROS -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 prefs/LibraryPrefs.cpp -o prefs/LibraryPrefs.o prefs/KeyConfigPrefs.cpp: In member function 'void KeyConfigPrefs::OnKeyDown(wxListEvent&)': prefs/KeyConfigPrefs.cpp:464:18: error: 'e' was not declared in this scope prefs/KeyConfigPrefs.cpp: At global scope: prefs/KeyConfigPrefs.cpp:194:23: warning: 'int SortCallback(long int, long int, long int)' defined but not used [-Wunused-function] make[2]: *** [prefs/KeyConfigPrefs.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/build/buildd/audacity-2.0.3+svn20130826+r7762/src' make[1]: *** [audacity] Error 2 Am Montag, den 26.08.2013, 15:00 -0700 schrieb Vaughan Johnson: > Thanks, Paul. I think it would be more helpful to know what about the > build is broken with current HEAD. > > - Vaughan > > > On 8/26/2013 9:26 AM, Paul Livesey wrote: > > These changes in this revision break the build on a Mac (and possibly Linux but I haven't checked that). > > > > The following diff (backing out a couple of the changes) fixes things but reintroduce whatever the original problem was so I haven't committed it. > > > > Paul. > > > > Index: FileIO.cpp > > =================================================================== > > --- FileIO.cpp (revision 12483) > > +++ FileIO.cpp (working copy) > > @@ -158,7 +158,7 @@ > > return; > > } > > > > -void FileIO::SetCatalogInfo(wxUint32 WXUNUSED(type)) > > +void FileIO::SetCatalogInfo(wxUint32 type) > > { > > #ifdef __WXMAC__ > > if (!mOpen || mFtp != NULL) { > > > > Index: prefs/KeyConfigPrefs.cpp > > =================================================================== > > --- prefs/KeyConfigPrefs.cpp (revision 12483) > > +++ prefs/KeyConfigPrefs.cpp (working copy) > > @@ -444,7 +444,7 @@ > > SetKeyForSelected( wxT("") ); > > } > > > > -void KeyConfigPrefs::OnKeyDown(wxListEvent & WXUNUSED(event)) > > +void KeyConfigPrefs::OnKeyDown(wxListEvent & e) > > { > > // the code in this function allows the user to seek to the next > > // command which begins with the letter that is pressed > > > > On 25 Aug 2013, at 22:53, aud...@go... wrote: > > > >> Revision: 12482 > >> Author: jam...@gm... > >> Date: Sun Aug 25 21:51:26 2013 UTC > >> Log: Cleanup: Fixed lots of trivial MSVC warnings. > >> http://code.google.com/p/audacity/source/detail?r=12482 > >> > >> Modified: > >> /audacity-src/trunk/src/AudacityApp.cpp > >> /audacity-src/trunk/src/AutoRecovery.cpp > >> /audacity-src/trunk/src/AutoRecovery.h > >> /audacity-src/trunk/src/BatchCommandDialog.cpp > >> /audacity-src/trunk/src/BatchCommands.cpp > >> /audacity-src/trunk/src/BatchProcessDialog.cpp > >> /audacity-src/trunk/src/Benchmark.cpp > >> /audacity-src/trunk/src/Dependencies.cpp > >> /audacity-src/trunk/src/DeviceManager.cpp > >> /audacity-src/trunk/src/Envelope.cpp > >> /audacity-src/trunk/src/FFmpeg.cpp > >> /audacity-src/trunk/src/FileIO.cpp > >> /audacity-src/trunk/src/HistoryWindow.cpp > >> /audacity-src/trunk/src/LabelDialog.cpp > >> /audacity-src/trunk/src/LangChoice.cpp > >> /audacity-src/trunk/src/Lyrics.cpp > >> /audacity-src/trunk/src/LyricsWindow.cpp > >> /audacity-src/trunk/src/Menus.cpp > >> /audacity-src/trunk/src/MixerBoard.cpp > >> /audacity-src/trunk/src/NoteTrack.cpp > >> /audacity-src/trunk/src/PluginManager.cpp > >> /audacity-src/trunk/src/Printing.cpp > >> /audacity-src/trunk/src/Profiler.cpp > >> /audacity-src/trunk/src/Project.cpp > >> /audacity-src/trunk/src/Screenshot.cpp > >> /audacity-src/trunk/src/Shuttle.cpp > >> /audacity-src/trunk/src/ShuttlePrefs.cpp > >> /audacity-src/trunk/src/SoundActivatedRecord.cpp > >> /audacity-src/trunk/src/Spectrum.cpp > >> /audacity-src/trunk/src/Tags.cpp > >> /audacity-src/trunk/src/TimeTrack.cpp > >> /audacity-src/trunk/src/TimerRecordDialog.cpp > >> /audacity-src/trunk/src/TrackArtist.cpp > >> /audacity-src/trunk/src/TrackPanel.cpp > >> /audacity-src/trunk/src/UploadDialog.cpp > >> /audacity-src/trunk/src/WaveTrack.cpp > >> /audacity-src/trunk/src/blockfile/SilentBlockFile.cpp > >> /audacity-src/trunk/src/commands/BatchEvalCommand.cpp > >> /audacity-src/trunk/src/commands/Command.cpp > >> /audacity-src/trunk/src/commands/CommandSignature.h > >> /audacity-src/trunk/src/commands/CommandTargets.h > >> /audacity-src/trunk/src/commands/HelpCommand.cpp > >> /audacity-src/trunk/src/commands/MessageCommand.cpp > >> /audacity-src/trunk/src/commands/PreferenceCommands.cpp > >> /audacity-src/trunk/src/effects/Amplify.cpp > >> /audacity-src/trunk/src/effects/ChangeSpeed.cpp > >> /audacity-src/trunk/src/effects/ClickRemoval.cpp > >> /audacity-src/trunk/src/effects/Compressor.cpp > >> /audacity-src/trunk/src/effects/Contrast.cpp > >> /audacity-src/trunk/src/effects/DtmfGen.cpp > >> /audacity-src/trunk/src/effects/Echo.cpp > >> /audacity-src/trunk/src/effects/Effect.cpp > >> /audacity-src/trunk/src/effects/Equalization.cpp > >> /audacity-src/trunk/src/effects/Noise.cpp > >> /audacity-src/trunk/src/effects/NoiseRemoval.cpp > >> /audacity-src/trunk/src/effects/Normalize.cpp > >> /audacity-src/trunk/src/effects/Paulstretch.cpp > >> /audacity-src/trunk/src/effects/Phaser.cpp > >> /audacity-src/trunk/src/effects/Repair.cpp > >> /audacity-src/trunk/src/effects/Repeat.cpp > >> /audacity-src/trunk/src/effects/Silence.cpp > >> /audacity-src/trunk/src/effects/TimeScale.cpp > >> /audacity-src/trunk/src/effects/ToneGen.cpp > >> /audacity-src/trunk/src/effects/TruncSilence.cpp > >> /audacity-src/trunk/src/effects/VST/VSTEffect.cpp > >> /audacity-src/trunk/src/effects/Wahwah.cpp > >> /audacity-src/trunk/src/effects/nyquist/Nyquist.cpp > >> /audacity-src/trunk/src/export/Export.cpp > >> /audacity-src/trunk/src/export/ExportCL.cpp > >> /audacity-src/trunk/src/export/ExportFFmpegDialogs.cpp > >> /audacity-src/trunk/src/export/ExportFLAC.cpp > >> /audacity-src/trunk/src/export/ExportMP2.cpp > >> /audacity-src/trunk/src/export/ExportMP3.cpp > >> /audacity-src/trunk/src/export/ExportMultiple.cpp > >> /audacity-src/trunk/src/export/ExportOGG.cpp > >> /audacity-src/trunk/src/import/ImportFFmpeg.cpp > >> /audacity-src/trunk/src/import/ImportFLAC.cpp > >> /audacity-src/trunk/src/import/ImportLOF.cpp > >> /audacity-src/trunk/src/import/ImportMP3.cpp > >> /audacity-src/trunk/src/import/ImportOGG.cpp > >> /audacity-src/trunk/src/import/ImportPCM.cpp > >> /audacity-src/trunk/src/import/RawAudioGuess.cpp > >> /audacity-src/trunk/src/prefs/DevicePrefs.cpp > >> /audacity-src/trunk/src/prefs/DirectoriesPrefs.cpp > >> /audacity-src/trunk/src/prefs/ExtImportPrefs.cpp > >> /audacity-src/trunk/src/prefs/KeyConfigPrefs.cpp > >> /audacity-src/trunk/src/prefs/LibraryPrefs.cpp > >> /audacity-src/trunk/src/prefs/ThemePrefs.cpp > >> /audacity-src/trunk/src/toolbars/MeterToolBar.cpp > >> /audacity-src/trunk/src/toolbars/MixerToolBar.cpp > >> /audacity-src/trunk/src/toolbars/SelectionBar.cpp > >> /audacity-src/trunk/src/toolbars/ToolBar.cpp > >> /audacity-src/trunk/src/toolbars/ToolDock.cpp > >> /audacity-src/trunk/src/toolbars/ToolManager.cpp > >> /audacity-src/trunk/src/toolbars/TranscriptionToolBar.cpp > >> /audacity-src/trunk/src/widgets/AButton.cpp > >> /audacity-src/trunk/src/widgets/ASlider.cpp > >> /audacity-src/trunk/src/widgets/ErrorDialog.cpp > >> /audacity-src/trunk/src/widgets/ExpandingToolBar.cpp > >> /audacity-src/trunk/src/widgets/Grabber.cpp > >> /audacity-src/trunk/src/widgets/Grid.cpp > >> /audacity-src/trunk/src/widgets/ImageRoll.cpp > >> /audacity-src/trunk/src/widgets/LinkingHtmlWindow.cpp > >> /audacity-src/trunk/src/widgets/Meter.cpp > >> /audacity-src/trunk/src/widgets/ProgressDialog.cpp > >> /audacity-src/trunk/src/widgets/Ruler.cpp > >> /audacity-src/trunk/src/widgets/TimeTextCtrl.cpp > >> /audacity-src/trunk/src/widgets/Warning.cpp > >> > >> ======================================= > >> --- /audacity-src/trunk/src/AudacityApp.cpp Sat Aug 24 20:30:47 2013 UTC > >> +++ /audacity-src/trunk/src/AudacityApp.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -589,10 +589,10 @@ > >> { > >> }; > >> > >> - bool OnExecute(const wxString & topic, > >> + bool OnExecute(const wxString & WXUNUSED(topic), > >> wxChar *data, > >> - int size, > >> - wxIPCFormat format) > >> + int WXUNUSED(size), > >> + wxIPCFormat WXUNUSED(format)) > >> { > >> if (!gInited) { > >> return false; > >> @@ -826,7 +826,7 @@ > >> return(true); > >> } > >> > >> -void AudacityApp::OnMRUClear(wxCommandEvent& event) > >> +void AudacityApp::OnMRUClear(wxCommandEvent& WXUNUSED(event)) > >> { > >> mRecentFiles->Clear(); > >> } > >> @@ -847,7 +847,7 @@ > >> mRecentFiles->RemoveFileFromHistory(n); > >> } > >> > >> -void AudacityApp::OnTimer(wxTimerEvent& event) > >> +void AudacityApp::OnTimer(wxTimerEvent& WXUNUSED(event)) > >> { > >> // Check if a warning for missing aliased files should be displayed > >> if (ShouldShowMissingAliasedFileWarning()) { > >> ======================================= > >> --- /audacity-src/trunk/src/AutoRecovery.cpp Tue Mar 20 15:36:02 2012 UTC > >> +++ /audacity-src/trunk/src/AutoRecovery.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -119,12 +119,12 @@ > >> mFileList->SetColumnWidth(0, wxLIST_AUTOSIZE); > >> } > >> > >> -void AutoRecoveryDialog::OnQuitAudacity(wxCommandEvent &evt) > >> +void AutoRecoveryDialog::OnQuitAudacity(wxCommandEvent & WXUNUSED(event)) > >> { > >> EndModal(ID_QUIT_AUDACITY); > >> } > >> > >> -void AutoRecoveryDialog::OnRecoverNone(wxCommandEvent &evt) > >> +void AutoRecoveryDialog::OnRecoverNone(wxCommandEvent & WXUNUSED(event)) > >> { > >> int ret = wxMessageBox( > >> _("Are you sure you don't want to recover any projects?\nThey can't be recovered later."), > >> @@ -134,7 +134,7 @@ > >> EndModal(ID_RECOVER_NONE); > >> } > >> > >> -void AutoRecoveryDialog::OnRecoverAll(wxCommandEvent &evt) > >> +void AutoRecoveryDialog::OnRecoverAll(wxCommandEvent & WXUNUSED(event)) > >> { > >> EndModal(ID_RECOVER_ALL); > >> } > >> ======================================= > >> --- /audacity-src/trunk/src/AutoRecovery.h Sat Jul 17 00:11:57 2010 UTC > >> +++ /audacity-src/trunk/src/AutoRecovery.h Sun Aug 25 21:51:26 2013 UTC > >> @@ -43,7 +43,7 @@ > >> virtual XMLTagHandler *HandleXMLChild(const wxChar *tag); > >> > >> // This class only knows reading tags > >> - virtual void WriteXML(XMLWriter &xmlFile) { wxASSERT(false); } > >> + virtual void WriteXML(XMLWriter & WXUNUSED(xmlFile)) { wxASSERT(false); } > >> > >> private: > >> AudacityProject* mProject; > >> ======================================= > >> --- /audacity-src/trunk/src/BatchCommandDialog.cpp Sun Aug 21 00:15:14 2011 UTC > >> +++ /audacity-src/trunk/src/BatchCommandDialog.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -146,18 +146,18 @@ > >> { > >> } > >> > >> -void BatchCommandDialog::OnChoice(wxCommandEvent &event) > >> +void BatchCommandDialog::OnChoice(wxCommandEvent & WXUNUSED(event)) > >> { > >> } > >> > >> -void BatchCommandDialog::OnOk(wxCommandEvent &event) > >> +void BatchCommandDialog::OnOk(wxCommandEvent & WXUNUSED(event)) > >> { > >> mSelectedCommand = mCommand->GetValue().Strip(wxString::both); > >> mSelectedParameters = mParameters->GetValue().Strip(wxString::trailing); > >> EndModal(true); > >> } > >> > >> -void BatchCommandDialog::OnCancel(wxCommandEvent &event) > >> +void BatchCommandDialog::OnCancel(wxCommandEvent & WXUNUSED(event)) > >> { > >> EndModal(false); > >> } > >> @@ -173,7 +173,7 @@ > >> mEditParams->Enable( f != NULL ); > >> } > >> > >> -void BatchCommandDialog::OnEditParams(wxCommandEvent &event) > >> +void BatchCommandDialog::OnEditParams(wxCommandEvent & WXUNUSED(event)) > >> { > >> wxString command = mCommand->GetValue(); > >> wxString params = mParameters->GetValue(); > >> ======================================= > >> --- /audacity-src/trunk/src/BatchCommands.cpp Sat Aug 24 20:30:47 2013 UTC > >> +++ /audacity-src/trunk/src/BatchCommands.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -417,7 +417,7 @@ > >> // and think again. > >> // ======= IMPORTANT ======== > >> // CLEANSPEECH remnant > >> -bool BatchCommands::ApplySpecialCommand(int iCommand, const wxString command,const wxString params) > >> +bool BatchCommands::ApplySpecialCommand(int WXUNUSED(iCommand), const wxString command,const wxString params) > >> { > >> if (ReportAndSkip(command, params)) > >> return true; > >> ======================================= > >> --- /audacity-src/trunk/src/BatchProcessDialog.cpp Mon Apr 29 23:23:14 2013 UTC > >> +++ /audacity-src/trunk/src/BatchProcessDialog.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -64,7 +64,7 @@ > >> wxDefaultPosition, wxDefaultSize, > >> wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER) > >> { > >> - AudacityProject * p = GetActiveProject(); > >> + //AudacityProject * p = GetActiveProject(); > >> > >> SetLabel(_("Apply Chain")); // Provide visual label > >> SetName(_("Apply Chain")); // Provide audible label > >> @@ -139,7 +139,7 @@ > >> mChains->SetColumnWidth(0, sz.x); > >> } > >> > >> -void BatchProcessDialog::OnApplyToProject(wxCommandEvent &event) > >> +void BatchProcessDialog::OnApplyToProject(wxCommandEvent & WXUNUSED(event)) > >> { > >> long item = mChains->GetNextItem(-1, > >> wxLIST_NEXT_ALL, > >> @@ -183,7 +183,7 @@ > >> } > >> } > >> > >> -void BatchProcessDialog::OnApplyToFiles(wxCommandEvent &event) > >> +void BatchProcessDialog::OnApplyToFiles(wxCommandEvent & WXUNUSED(event)) > >> { > >> long item = mChains->GetNextItem(-1, > >> wxLIST_NEXT_ALL, > >> @@ -339,7 +339,7 @@ > >> project->OnRemoveTracks(); > >> } > >> > >> -void BatchProcessDialog::OnCancel(wxCommandEvent &event) > >> +void BatchProcessDialog::OnCancel(wxCommandEvent & WXUNUSED(event)) > >> { > >> EndModal(false); > >> } > >> @@ -590,7 +590,7 @@ > >> return true; > >> } > >> /// An item in the chains list has been selected. > >> -void EditChainsDialog::OnChainSelected(wxListEvent &event) > >> +void EditChainsDialog::OnChainSelected(wxListEvent & event) > >> { > >> if (!ChangeOK()) { > >> event.Veto(); > >> @@ -617,13 +617,13 @@ > >> } > >> > >> /// An item in the chains list has been selected. > >> -void EditChainsDialog::OnListSelected(wxListEvent &event) > >> +void EditChainsDialog::OnListSelected(wxListEvent & WXUNUSED(event)) > >> { > >> FitColumns(); > >> } > >> > >> /// The window has been resized. > >> -void EditChainsDialog::OnSize(wxSizeEvent &event) > >> +void EditChainsDialog::OnSize(wxSizeEvent & WXUNUSED(event)) > >> { > >> // Refrsh the layout and re-fit the columns. > >> Layout(); > >> @@ -704,7 +704,7 @@ > >> } > >> > >> /// > >> -void EditChainsDialog::OnAdd(wxCommandEvent &event) > >> +void EditChainsDialog::OnAdd(wxCommandEvent & WXUNUSED(event)) > >> { > >> while (true) { > >> wxTextEntryDialog d(this, > >> @@ -748,7 +748,7 @@ > >> } > >> > >> /// > >> -void EditChainsDialog::OnRemove(wxCommandEvent &event) > >> +void EditChainsDialog::OnRemove(wxCommandEvent & WXUNUSED(event)) > >> { > >> long item = mChains->GetNextItem(-1, > >> wxLIST_NEXT_ALL, > >> @@ -779,7 +779,7 @@ > >> } > >> > >> /// > >> -void EditChainsDialog::OnRename(wxCommandEvent &event) > >> +void EditChainsDialog::OnRename(wxCommandEvent & WXUNUSED(event)) > >> { > >> long item = mChains->GetNextItem(-1, > >> wxLIST_NEXT_ALL, > >> @@ -818,7 +818,7 @@ > >> } > >> > >> /// > >> -void EditChainsDialog::OnInsert(wxCommandEvent &event) > >> +void EditChainsDialog::OnInsert(wxCommandEvent & WXUNUSED(event)) > >> { > >> long item = mList->GetNextItem(-1, > >> wxLIST_NEXT_ALL, > >> @@ -847,7 +847,7 @@ > >> } > >> > >> /// > >> -void EditChainsDialog::OnDelete(wxCommandEvent &event) > >> +void EditChainsDialog::OnDelete(wxCommandEvent & WXUNUSED(event)) > >> { > >> long item = mList->GetNextItem(-1, > >> wxLIST_NEXT_ALL, > >> @@ -870,7 +870,7 @@ > >> } > >> > >> /// > >> -void EditChainsDialog::OnUp(wxCommandEvent &event) > >> +void EditChainsDialog::OnUp(wxCommandEvent & WXUNUSED(event)) > >> { > >> long item = mList->GetNextItem(-1, > >> wxLIST_NEXT_ALL, > >> @@ -892,7 +892,7 @@ > >> } > >> > >> /// > >> -void EditChainsDialog::OnDown(wxCommandEvent &event) > >> +void EditChainsDialog::OnDown(wxCommandEvent & WXUNUSED(event)) > >> { > >> long item = mList->GetNextItem(-1, > >> wxLIST_NEXT_ALL, > >> @@ -914,7 +914,7 @@ > >> } > >> > >> /// Select the empty Command chain. > >> -void EditChainsDialog::OnDefaults(wxCommandEvent &event) > >> +void EditChainsDialog::OnDefaults(wxCommandEvent & WXUNUSED(event)) > >> { > >> mBatchCommands.RestoreChain(mActiveChain); > >> > >> @@ -924,7 +924,7 @@ > >> } > >> > >> /// Send changed values back to Prefs, and update Audacity. > >> -void EditChainsDialog::OnOK(wxCommandEvent &event) > >> +void EditChainsDialog::OnOK(wxCommandEvent & WXUNUSED(event)) > >> { > >> gPrefs->Write(wxT("/Batch/ActiveChain"), mActiveChain); > >> gPrefs->Flush(); > >> @@ -939,7 +939,7 @@ > >> } > >> > >> /// > >> -void EditChainsDialog::OnCancel(wxCommandEvent &event) > >> +void EditChainsDialog::OnCancel(wxCommandEvent & WXUNUSED(event)) > >> { > >> if (!ChangeOK()) { > >> return; > >> ======================================= > >> --- /audacity-src/trunk/src/Benchmark.cpp Thu Aug 2 06:03:19 2012 UTC > >> +++ /audacity-src/trunk/src/Benchmark.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -144,7 +144,7 @@ > >> > >> // WDR: handler implementations for BenchmarkDialog > >> > >> -void BenchmarkDialog::OnClose(wxCommandEvent &event) > >> +void BenchmarkDialog::OnClose(wxCommandEvent & WXUNUSED(event)) > >> { > >> EndModal(0); > >> } > >> @@ -240,7 +240,7 @@ > >> SetSizeHints(GetSize()); > >> } > >> > >> -void BenchmarkDialog::OnSave( wxCommandEvent &event ) > >> +void BenchmarkDialog::OnSave( wxCommandEvent & WXUNUSED(event)) > >> { > >> wxString fName = wxT("benchmark.txt"); > >> > >> @@ -253,7 +253,7 @@ > >> mText->SaveFile(fName); > >> } > >> > >> -void BenchmarkDialog::OnClear(wxCommandEvent &event) > >> +void BenchmarkDialog::OnClear(wxCommandEvent & WXUNUSED(event)) > >> { > >> mText->Clear(); > >> } > >> @@ -290,7 +290,7 @@ > >> mToPrint = wxT(""); > >> } > >> > >> -void BenchmarkDialog::OnRun( wxCommandEvent &event ) > >> +void BenchmarkDialog::OnRun( wxCommandEvent & WXUNUSED(event)) > >> { > >> TransferDataFromWindow(); > >> > >> ======================================= > >> --- /audacity-src/trunk/src/Dependencies.cpp Fri Feb 22 21:32:23 2013 UTC > >> +++ /audacity-src/trunk/src/Dependencies.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -469,19 +469,19 @@ > >> wxDialog::OnSize(evt); > >> } > >> > >> -void DependencyDialog::OnNo(wxCommandEvent &evt) > >> +void DependencyDialog::OnNo(wxCommandEvent & WXUNUSED(event)) > >> { > >> SaveFutureActionChoice(); > >> EndModal(wxID_NO); > >> } > >> > >> -void DependencyDialog::OnYes(wxCommandEvent &evt) > >> +void DependencyDialog::OnYes(wxCommandEvent & WXUNUSED(event)) > >> { > >> SaveFutureActionChoice(); > >> EndModal(wxID_YES); > >> } > >> > >> -void DependencyDialog::OnCopySelectedFiles(wxCommandEvent &evt) > >> +void DependencyDialog::OnCopySelectedFiles(wxCommandEvent & WXUNUSED(event)) > >> { > >> AliasedFileArray aliasedFilesToDelete; > >> > >> @@ -504,7 +504,7 @@ > >> } > >> } > >> > >> -void DependencyDialog::OnCancel(wxCommandEvent& evt) > >> +void DependencyDialog::OnCancel(wxCommandEvent& WXUNUSED(event)) > >> { > >> if (mIsSaving) > >> { > >> ======================================= > >> --- /audacity-src/trunk/src/DeviceManager.cpp Wed Feb 20 23:42:58 2013 UTC > >> +++ /audacity-src/trunk/src/DeviceManager.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -104,11 +104,11 @@ > >> //Port Audio requires we open the stream with a callback or a lot of devices will fail > >> //as this means open in blocking mode, so we use a dummy one. > >> static int DummyPaStreamCallback( > >> - const void *input, void *output, > >> - unsigned long frameCount, > >> - const PaStreamCallbackTimeInfo* timeInfo, > >> - PaStreamCallbackFlags statusFlags, > >> - void *userData ) > >> + const void *WXUNUSED(input), void * WXUNUSED(output), > >> + unsigned long WXUNUSED(frameCount), > >> + const PaStreamCallbackTimeInfo* WXUNUSED(timeInfo), > >> + PaStreamCallbackFlags WXUNUSED(statusFlags), > >> + void *WXUNUSED(userData) ) > >> { > >> return 0; > >> } > >> ======================================= > >> --- /audacity-src/trunk/src/Envelope.cpp Sun Jan 6 16:55:19 2013 UTC > >> +++ /audacity-src/trunk/src/Envelope.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -518,7 +518,7 @@ > >> } > >> > >> void Envelope::MoveDraggedPoint( wxMouseEvent & event, wxRect & r, > >> - double h, double pps, bool dB, > >> + double WXUNUSED(h), double pps, bool dB, > >> float zoomMin, float zoomMax) > >> { > >> int clip_y = event.m_y - r.y; > >> @@ -555,7 +555,8 @@ > >> > >> bool Envelope::HandleDragging( wxMouseEvent & event, wxRect & r, > >> double h, double pps, bool dB, > >> - float zoomMin, float zoomMax, float eMin, float eMax) > >> + float zoomMin, float zoomMax, > >> + float WXUNUSED(eMin), float WXUNUSED(eMax)) > >> { > >> mDirty = true; > >> > >> @@ -580,9 +581,11 @@ > >> } > >> > >> // Exit dragging mode and deletes dragged point if neccessary. > >> -bool Envelope::HandleMouseButtonUp( wxMouseEvent & event, wxRect & r, > >> - double h, double pps, bool dB, > >> - float zoomMin, float zoomMax ) > >> +bool Envelope::HandleMouseButtonUp( wxMouseEvent & WXUNUSED(event), wxRect & WXUNUSED(r), > >> + double WXUNUSED(h), > >> + double WXUNUSED(pps), bool WXUNUSED(dB), > >> + float WXUNUSED(zoomMin), > >> + float WXUNUSED(zoomMax) ) > >> { > >> if (mIsDeleting) { > >> delete mEnv[mDragPoint]; > >> ======================================= > >> --- /audacity-src/trunk/src/FFmpeg.cpp Sun May 19 00:22:26 2013 UTC > >> +++ /audacity-src/trunk/src/FFmpeg.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -117,7 +117,7 @@ > >> } > >> } > >> > >> -wxString GetFFmpegVersion(wxWindow *parent) > >> +wxString GetFFmpegVersion(wxWindow * WXUNUSED(parent)) > >> { > >> PickFFmpegLibs(); > >> > >> @@ -628,7 +628,7 @@ > >> return; > >> } > >> > >> - void OnBrowse(wxCommandEvent & event) > >> + void OnBrowse(wxCommandEvent & WXUNUSED(event)) > >> { > >> wxString question; > >> /* i18n-hint: It's asking for the location of a file, for > >> @@ -649,7 +649,7 @@ > >> } > >> } > >> > >> - void OnDownload(wxCommandEvent & event) > >> + void OnDownload(wxCommandEvent & WXUNUSED(event)) > >> { > >> wxString page = wxT("http://manual.audacityteam.org/o/man/faq_installation_and_plug_ins.html#ffdown"); > >> ::OpenInDefaultBrowser(page); > >> @@ -752,7 +752,7 @@ > >> return true; > >> } > >> > >> -bool FFmpegLibs::LoadLibs(wxWindow *parent, bool showerr) > >> +bool FFmpegLibs::LoadLibs(wxWindow * WXUNUSED(parent), bool showerr) > >> { > >> #if defined(DISABLE_DYNAMIC_LOADING_FFMPEG) > >> mLibsLoaded = InitLibs(wxEmptyString, showerr); > >> ======================================= > >> --- /audacity-src/trunk/src/FileIO.cpp Sun Jan 24 13:33:28 2010 UTC > >> +++ /audacity-src/trunk/src/FileIO.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -158,7 +158,7 @@ > >> return; > >> } > >> > >> -void FileIO::SetCatalogInfo(wxUint32 type) > >> +void FileIO::SetCatalogInfo(wxUint32 WXUNUSED(type)) > >> { > >> #ifdef __WXMAC__ > >> if (!mOpen || mFtp != NULL) { > >> ======================================= > >> --- /audacity-src/trunk/src/HistoryWindow.cpp Tue Mar 20 15:36:02 2012 UTC > >> +++ /audacity-src/trunk/src/HistoryWindow.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -193,7 +193,7 @@ > >> mDiscard->Enable(mSelected > 0); > >> } > >> > >> -void HistoryWindow::OnDiscard(wxCommandEvent &event) > >> +void HistoryWindow::OnDiscard(wxCommandEvent & WXUNUSED(event)) > >> { > >> int i = mLevels->GetValue(); > >> > >> @@ -237,7 +237,7 @@ > >> this->Show(false); > >> } > >> > >> -void HistoryWindow::OnSize(wxSizeEvent & event) > >> +void HistoryWindow::OnSize(wxSizeEvent & WXUNUSED(event)) > >> { > >> Layout(); > >> mList->SetColumnWidth(0, mList->GetClientSize().x - mList->GetColumnWidth(1)); > >> ======================================= > >> --- /audacity-src/trunk/src/LabelDialog.cpp Sat Oct 13 22:55:07 2012 UTC > >> +++ /audacity-src/trunk/src/LabelDialog.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -482,7 +482,7 @@ > >> mGrid->ShowCellEditControl(); > >> } > >> > >> -void LabelDialog::OnRemove(wxCommandEvent &event) > >> +void LabelDialog::OnRemove(wxCommandEvent & WXUNUSED(event)) > >> { > >> int row = mGrid->GetCursorRow(); > >> int col = mGrid->GetCursorColumn(); > >> @@ -513,7 +513,7 @@ > >> mGrid->SetGridCursor(row, col); > >> } > >> > >> -void LabelDialog::OnImport(wxCommandEvent &event) > >> +void LabelDialog::OnImport(wxCommandEvent & WXUNUSED(event)) > >> { > >> wxString path = gPrefs->Read(wxT("/DefaultOpenPath"),::wxGetCwd()); > >> > >> @@ -558,7 +558,7 @@ > >> } > >> } > >> > >> -void LabelDialog::OnExport(wxCommandEvent &event) > >> +void LabelDialog::OnExport(wxCommandEvent & WXUNUSED(event)) > >> { > >> int cnt = mData.GetCount(); > >> > >> @@ -698,7 +698,7 @@ > >> return; > >> } > >> > >> -void LabelDialog::OnChangeTrack(wxGridEvent &event, int row, RowData *rd) > >> +void LabelDialog::OnChangeTrack(wxGridEvent & WXUNUSED(event), int row, RowData *rd) > >> { > >> wxString val = mGrid->GetCellValue(row, Col_Track); > >> > >> @@ -732,7 +732,7 @@ > >> return; > >> } > >> > >> -void LabelDialog::OnChangeLabel(wxGridEvent &event, int row, RowData *rd) > >> +void LabelDialog::OnChangeLabel(wxGridEvent & WXUNUSED(event), int row, RowData *rd) > >> { > >> // Remember the value...no need to repopulate > >> rd->title = mGrid->GetCellValue(row, Col_Label); > >> @@ -740,7 +740,7 @@ > >> return; > >> } > >> > >> -void LabelDialog::OnChangeStime(wxGridEvent &event, int row, RowData *rd) > >> +void LabelDialog::OnChangeStime(wxGridEvent & WXUNUSED(event), int row, RowData *rd) > >> { > >> // Remember the value...no need to repopulate > >> mGrid->GetCellValue(row, Col_Stime).ToDouble(&rd->stime); > >> @@ -752,7 +752,7 @@ > >> return; > >> } > >> > >> -void LabelDialog::OnChangeEtime(wxGridEvent &event, int row, RowData *rd) > >> +void LabelDialog::OnChangeEtime(wxGridEvent & WXUNUSED(event), int row, RowData *rd) > >> { > >> // Remember the value...no need to repopulate > >> mGrid->GetCellValue(row, Col_Etime).ToDouble(&rd->etime); > >> @@ -764,7 +764,7 @@ > >> return; > >> } > >> > >> -void LabelDialog::OnOK(wxCommandEvent &event) > >> +void LabelDialog::OnOK(wxCommandEvent & WXUNUSED(event)) > >> { > >> if (mGrid->IsCellEditControlShown()) { > >> mGrid->SaveEditControlValue(); > >> @@ -780,7 +780,7 @@ > >> return; > >> } > >> > >> -void LabelDialog::OnCancel(wxCommandEvent &event) > >> +void LabelDialog::OnCancel(wxCommandEvent & WXUNUSED(event)) > >> { > >> if (mGrid->IsCellEditControlShown()) { > >> mGrid->GetCellEditor(mGrid->GetGridCursorRow(), > >> ======================================= > >> --- /audacity-src/trunk/src/LangChoice.cpp Tue Mar 20 22:12:06 2012 UTC > >> +++ /audacity-src/trunk/src/LangChoice.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -103,7 +103,7 @@ > >> Fit(); > >> } > >> > >> -void LangChoiceDialog::OnOk(wxCommandEvent & event) > >> +void LangChoiceDialog::OnOk(wxCommandEvent & WXUNUSED(event)) > >> { > >> int ndx = mChoice->GetSelection(); > >> mLang = mLangCodes[ndx]; > >> ======================================= > >> --- /audacity-src/trunk/src/Lyrics.cpp Wed Feb 20 23:42:58 2013 UTC > >> +++ /audacity-src/trunk/src/Lyrics.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -445,7 +445,7 @@ > >> GetActiveProject()->HandleKeyDown(event); > >> } > >> > >> -void Lyrics::OnPaint(wxPaintEvent &evt) > >> +void Lyrics::OnPaint(wxPaintEvent & WXUNUSED(event)) > >> { > >> if (!this->GetParent()->IsShown()) > >> return; > >> @@ -476,7 +476,7 @@ > >> } > >> } > >> > >> -void Lyrics::OnSize(wxSizeEvent &evt) > >> +void Lyrics::OnSize(wxSizeEvent & WXUNUSED(event)) > >> { > >> GetClientSize(&mWidth, &mHeight); > >> > >> ======================================= > >> --- /audacity-src/trunk/src/LyricsWindow.cpp Mon Jan 31 01:49:01 2011 UTC > >> +++ /audacity-src/trunk/src/LyricsWindow.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -131,12 +131,12 @@ > >> this->Hide(); > >> } > >> > >> -void LyricsWindow::OnStyle_BouncingBall(wxCommandEvent &evt) > >> +void LyricsWindow::OnStyle_BouncingBall(wxCommandEvent & WXUNUSED(event)) > >> { > >> mLyricsPanel->SetLyricsStyle(Lyrics::kBouncingBallLyrics); > >> } > >> > >> -void LyricsWindow::OnStyle_Highlight(wxCommandEvent &evt) > >> +void LyricsWindow::OnStyle_Highlight(wxCommandEvent & WXUNUSED(event)) > >> { > >> mLyricsPanel->SetLyricsStyle(Lyrics::kHighlightLyrics); > >> } > >> ======================================= > >> --- /audacity-src/trunk/src/Menus.cpp Sat Aug 24 20:30:47 2013 UTC > >> +++ /audacity-src/trunk/src/Menus.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -5033,7 +5033,7 @@ > >> double newPos = -1.0; > >> wxArrayDouble trackStartArray; > >> wxArrayDouble trackEndArray; > >> - double firstTrackOffset; > >> + double firstTrackOffset=0.0f; > >> > >> while (t) { > >> // We only want Wave and Note tracks here. > >> ======================================= > >> --- /audacity-src/trunk/src/MixerBoard.cpp Sun Jun 17 00:28:03 2012 UTC > >> +++ /audacity-src/trunk/src/MixerBoard.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -759,7 +759,7 @@ > >> event.Skip(); > >> } > >> > >> -void MixerTrackCluster::OnPaint(wxPaintEvent &evt) > >> +void MixerTrackCluster::OnPaint(wxPaintEvent & WXUNUSED(event)) > >> { > >> wxPaintDC dc(this); > >> > >> @@ -789,18 +789,18 @@ > >> } > >> > >> > >> -void MixerTrackCluster::OnButton_MusicalInstrument(wxCommandEvent& event) > >> +void MixerTrackCluster::OnButton_MusicalInstrument(wxCommandEvent& WXUNUSED(event)) > >> { > >> bool bShiftDown = ::wxGetMouseState().ShiftDown(); > >> this->HandleSelect(bShiftDown); > >> } > >> > >> -void MixerTrackCluster::OnSlider_Gain(wxCommandEvent& event) > >> +void MixerTrackCluster::OnSlider_Gain(wxCommandEvent& WXUNUSED(event)) > >> { > >> this->HandleSliderGain(); > >> } > >> > >> -//v void MixerTrackCluster::OnSliderScroll_Gain(wxScrollEvent& event) > >> +//v void MixerTrackCluster::OnSliderScroll_Gain(wxScrollEvent& WXUNUSED(event)) > >> //{ > >> //int sliderValue = (int)(mSlider_Gain->Get()); //v mSlider_Gain->GetValue(); > >> //#ifdef __WXMSW__ > >> @@ -815,12 +815,12 @@ > >> //mSlider_Gain->SetToolTip(str); > >> //} > >> > >> -void MixerTrackCluster::OnSlider_Pan(wxCommandEvent& event) > >> +void MixerTrackCluster::OnSlider_Pan(wxCommandEvent& WXUNUSED(event)) > >> { > >> this->HandleSliderPan(); > >> } > >> > >> -void MixerTrackCluster::OnButton_Mute(wxCommandEvent& event) > >> +void MixerTrackCluster::OnButton_Mute(wxCommandEvent& WXUNUSED(event)) > >> { > >> #ifdef EXPERIMENTAL_MIDI_OUT > >> mProject->HandleTrackMute(mTrack, mToggleButton_Mute->WasShiftDown()); > >> @@ -846,7 +846,7 @@ > >> #endif > >> } > >> > >> -void MixerTrackCluster::OnButton_Solo(wxCommandEvent& event) > >> +void MixerTrackCluster::OnButton_Solo(wxCommandEvent& WXUNUSED(event)) > >> { > >> #ifdef EXPERIMENTAL_MIDI_OUT > >> mProject->HandleTrackSolo(mTrack, mToggleButton_Solo->WasShiftDown()); > >> @@ -1748,7 +1748,7 @@ > >> event.Skip(); > >> } > >> > >> -void MixerBoardFrame::OnSize(wxSizeEvent &event) > >> +void MixerBoardFrame::OnSize(wxSizeEvent & WXUNUSED(event)) > >> { > >> mMixerBoard->SetSize(this->GetClientSize()); > >> } > >> ======================================= > >> --- /audacity-src/trunk/src/NoteTrack.cpp Fri Aug 3 22:59:25 2012 UTC > >> +++ /audacity-src/trunk/src/NoteTrack.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -793,7 +793,7 @@ > >> return false; > >> } > >> > >> -XMLTagHandler *NoteTrack::HandleXMLChild(const wxChar *tag) > >> +XMLTagHandler *NoteTrack::HandleXMLChild(const wxChar * WXUNUSED(tag)) > >> { > >> return NULL; > >> } > >> ======================================= > >> --- /audacity-src/trunk/src/PluginManager.cpp Sat Aug 24 15:38:26 2013 UTC > >> +++ /audacity-src/trunk/src/PluginManager.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -53,7 +53,7 @@ > >> } > >> } > >> > >> -PluginManager & PluginManager::Get(bool refresh) > >> +PluginManager & PluginManager::Get(bool WXUNUSED(refresh)) > >> { > >> return mInstance; > >> } > >> ======================================= > >> --- /audacity-src/trunk/src/Printing.cpp Thu May 30 23:14:25 2013 UTC > >> +++ /audacity-src/trunk/src/Printing.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -53,7 +53,7 @@ > >> TrackList *mTracks; > >> }; > >> > >> -bool AudacityPrintout::OnPrintPage(int page) > >> +bool AudacityPrintout::OnPrintPage(int WXUNUSED(page)) > >> { > >> wxDC *dc = GetDC(); > >> if (!dc) > >> ======================================= > >> --- /audacity-src/trunk/src/Profiler.cpp Sun Jan 24 13:33:28 2010 UTC > >> +++ /audacity-src/trunk/src/Profiler.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -152,7 +152,7 @@ > >> } > >> > >> ///end the task timer. > >> -void TaskProfile::End(char* fileName, int lineNum, char* taskDescription) > >> +void TaskProfile::End(char* WXUNUSED(fileName), int WXUNUSED(lineNum), char* WXUNUSED(taskDescription)) > >> { > >> mCumTime += clock() - mLastTime; > >> mNumHits++; > >> ======================================= > >> --- /audacity-src/trunk/src/Project.cpp Sat Aug 24 20:30:47 2013 UTC > >> +++ /audacity-src/trunk/src/Project.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -269,7 +269,7 @@ > >> { > >> } > >> > >> - bool IsSupportedFormat(const wxDataFormat & format, Direction dir = Get) const > >> + bool IsSupportedFormat(const wxDataFormat & format, Direction WXUNUSED(dir = Get)) const > >> { > >> if (format.GetType() == wxDF_FILENAME) { > >> return true; > >> @@ -391,7 +391,7 @@ > >> > >> #endif > >> > >> - bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames) > >> + bool OnDropFiles(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), const wxArrayString& filenames) > >> { > >> //sort by OD non OD. load Non OD first so user can start editing asap. > >> wxArrayString sortednames(filenames); > >> @@ -1600,7 +1600,7 @@ > >> } > >> > >> ///Handles the redrawing necessary for tasks as they partially update in the background. > >> -void AudacityProject::OnODTaskUpdate(wxCommandEvent & event) > >> +void AudacityProject::OnODTaskUpdate(wxCommandEvent & WXUNUSED(event)) > >> { > >> //todo: add track data to the event - check to see if the project contains it before redrawing. > >> if(mTrackPanel) > >> @@ -1609,13 +1609,13 @@ > >> } > >> > >> //redraws the task and does other book keeping after the task is complete. > >> -void AudacityProject::OnODTaskComplete(wxCommandEvent & event) > >> +void AudacityProject::OnODTaskComplete(wxCommandEvent & WXUNUSED(event)) > >> { > >> if(mTrackPanel) > >> mTrackPanel->Refresh(false); > >> } > >> > >> -void AudacityProject::OnScroll(wxScrollEvent & event) > >> +void AudacityProject::OnScroll(wxScrollEvent & WXUNUSED(event)) > >> { > >> wxInt64 hlast = mViewInfo.sbarH; > >> > >> @@ -1685,7 +1685,7 @@ > >> return mCommandManager.HandleKey(event, GetUpdateFlags(), 0xFFFFFFFF); > >> } > >> > >> -bool AudacityProject::HandleChar(wxKeyEvent & event) > >> +bool AudacityProject::HandleChar(wxKeyEvent & WXUNUSED(event)) > >> { > >> return false; > >> } > >> @@ -1758,7 +1758,7 @@ > >> event.Skip(true); > >> } > >> > >> -void AudacityProject::OnUpdateUI(wxUpdateUIEvent & event) > >> +void AudacityProject::OnUpdateUI(wxUpdateUIEvent & WXUNUSED(event)) > >> { > >> UpdateMenus(); > >> } > >> @@ -3981,7 +3981,7 @@ > >> mTrackPanel->SetStop(bStopped); > >> } > >> > >> -void AudacityProject::OnTimer(wxTimerEvent& event) > >> +void AudacityProject::OnTimer(wxTimerEvent& WXUNUSED(event)) > >> { > >> MixerToolBar *mixerToolBar = GetMixerToolBar(); > >> if( mixerToolBar ) > >> ======================================= > >> --- /audacity-src/trunk/src/Screenshot.cpp Thu Aug 2 06:03:19 2012 UTC > >> +++ /audacity-src/trunk/src/Screenshot.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -45,54 +45,54 @@ > >> ScreenFrame(wxWindow *parent, wxWindowID id); > >> virtual ~ScreenFrame(); > >> > >> - virtual bool ProcessEvent(wxEvent & e); > >> + virtual bool ProcessEvent(wxEvent & event); > >> > >> private: > >> void Populate(); > >> void PopulateOrExchange(ShuttleGui &S); > >> > >> - void OnCloseWindow(wxCloseEvent & e); > >> - void OnUIUpdate(wxUpdateUIEvent & e); > >> - void OnDirChoose(wxCommandEvent & e); > >> + void OnCloseWindow(wxCloseEvent & event); > >> + void OnUIUpdate(wxUpdateUIEvent & event); > >> + void OnDirChoose(wxCommandEvent & event); > >> > >> void SizeMainWindow(int w, int h); > >> - void OnMainWindowSmall(wxCommandEvent & e); > >> - void OnMainWindowLarge(wxCommandEvent & e); > >> - void OnToggleBackgroundBlue(wxCommandEvent & e); > >> - void OnToggleBackgroundWhite(wxCommandEvent & e); > >> + void OnMainWindowSmall(wxCommandEvent & event); > >> + void OnMainWindowLarge(wxCommandEvent & event); > >> + void OnToggleBackgroundBlue(wxCommandEvent & event); > >> + void OnToggleBackgroundWhite(wxCommandEvent & event); > >> > >> void DoCapture(wxString captureMode); > >> - void OnCaptureWindowContents(wxCommandEvent & e); > >> - void OnCaptureFullWindow(wxCommandEvent & e); > >> - void OnCaptureWindowPlus(wxCommandEvent & e); > >> - void OnCaptureFullScreen(wxCommandEvent & e); > >> - void OnCaptureToolbars(wxCommandEvent & e); > >> - void OnCaptureSelectionBar(wxCommandEvent & e); > >> - void OnCaptureTools(wxCommandEvent & e); > >> - void OnCaptureTransport(wxCommandEvent & e); > >> - void OnCaptureMixer(wxCommandEvent & e); > >> - void OnCaptureMeter(wxCommandEvent & e); > >> - void OnCaptureEdit(wxCommandEvent & e); > >> - void OnCaptureDevice(wxCommandEvent & e); > >> - void OnCaptureTranscription(wxCommandEvent & e); > >> + void OnCaptureWindowContents(wxCommandEvent & event); > >> + void OnCaptureFullWindow(wxCommandEvent & event); > >> + void OnCaptureWindowPlus(wxCommandEvent & event); > >> + void OnCaptureFullScreen(wxCommandEvent & event); > >> + void OnCaptureToolbars(wxCommandEvent & event); > >> + void OnCaptureSelectionBar(wxCommandEvent & event); > >> + void OnCaptureTools(wxCommandEvent & event); > >> + void OnCaptureTransport(wxCommandEvent & event); > >> + void OnCaptureMixer(wxCommandEvent & event); > >> + void OnCaptureMeter(wxCommandEvent & event); > >> + void OnCaptureEdit(wxCommandEvent & event); > >> + void OnCaptureDevice(wxCommandEvent & event); > >> + void OnCaptureTranscription(wxCommandEvent & event); > >> > >> void TimeZoom(double seconds); > >> - void OnOneSec(wxCommandEvent & e); > >> - void OnTenSec(wxCommandEvent & e); > >> - void OnOneMin(wxCommandEvent & e); > >> - void OnFiveMin(wxCommandEvent & e); > >> - void OnOneHour(wxCommandEvent & e); > >> + void OnOneSec(wxCommandEvent & event); > >> + void OnTenSec(wxCommandEvent & event); > >> + void OnOneMin(wxCommandEvent & event); > >> + void OnFiveMin(wxCommandEvent & event); > >> + void OnOneHour(wxCommandEvent & event); > >> > >> void SizeTracks(int h); > >> - void OnShortTracks(wxCommandEvent & e); > >> - void OnMedTracks(wxCommandEvent & e); > >> - void OnTallTracks(wxCommandEvent & e); > >> + void OnShortTracks(wxCommandEvent & event); > >> + void OnMedTracks(wxCommandEvent & event); > >> + void OnTallTracks(wxCommandEvent & event); > >> > >> - void OnCaptureTrackPanel(wxCommandEvent & e); > >> - void OnCaptureRuler(wxCommandEvent & e); > >> - void OnCaptureTracks(wxCommandEvent & e); > >> - void OnCaptureFirstTrack(wxCommandEvent & e); > >> - void OnCaptureSecondTrack(wxCommandEvent & e); > >> + void OnCaptureTrackPanel(wxCommandEvent & event); > >> + void OnCaptureRuler(wxCommandEvent & event); > >> + void OnCaptureTracks(wxCommandEvent & event); > >> + void OnCaptureFirstTrack(wxCommandEvent & event); > >> + void OnCaptureSecondTrack(wxCommandEvent & event); > >> > >> ScreenshotCommand *CreateCommand(); > >> > >> @@ -135,10 +135,10 @@ > >> { > >> public: > >> ScreenFrameTimer(ScreenFrame *frame, > >> - wxEvent & e) > >> + wxEvent & event) > >> { > >> screenFrame = frame; > >> - evt = e.Clone(); > >> + evt = event.Clone(); > >> } > >> > >> virtual void Notify() > >> @@ -471,13 +471,13 @@ > >> return wxFrame::ProcessEvent(e); > >> } > >> > >> -void ScreenFrame::OnCloseWindow(wxCloseEvent & e) > >> +void ScreenFrame::OnCloseWindow(wxCloseEvent & WXUNUSED(event)) > >> { > >> mFrame = NULL; > >> Destroy(); > >> } > >> > >> -void ScreenFrame::OnUIUpdate(wxUpdateUIEvent & e) > >> +void ScreenFrame::OnUIUpdate(wxUpdateUIEvent & WXUNUSED(event)) > >> { > >> #ifdef __WXMAC__ > >> wxTopLevelWindow *top = mCommand->GetFrontWindow(mContext.proj); > >> @@ -504,7 +504,7 @@ > >> #endif > >> } > >> > >> -void ScreenFrame::OnDirChoose(wxCommandEvent & e) > >> +void ScreenFrame::OnDirChoose(wxCommandEvent & WXUNUSED(event)) > >> { > >> wxString current = mDirectoryTextBox->GetValue(); > >> > >> @@ -523,14 +523,14 @@ > >> } > >> } > >> > >> -void ScreenFrame::OnToggleBackgroundBlue(wxCommandEvent & e) > >> +void ScreenFrame::OnToggleBackgroundBlue(wxCommandEvent & WXUNUSED(event)) > >> { > >> mWhite->SetValue(false); > >> mCommand->SetParameter(wxT("Background"), > >> mBlue->GetValue() ? wxT("Blue") : wxT("None")); > >> } > >> > >> -void ScreenFrame::OnToggleBackgroundWhite(wxCommandEvent & e) > >> +void ScreenFrame::OnToggleBackgroundWhite(wxCommandEvent & WXUNUSED(event)) > >> { > >> mBlue->SetValue(false); > >> mCommand->SetParameter(wxT("Background"), > >> @@ -546,12 +546,12 @@ > >> mContext.proj->mToolManager->Reset(); > >> } > >> > >> -void ScreenFrame::OnMainWindowSmall(wxCommandEvent & e) > >> +void ScreenFrame::OnMainWindowSmall(wxCommandEvent & WXUNUSED(event)) > >> { > >> SizeMainWindow(680, 450); > >> } > >> > >> -void ScreenFrame::OnMainWindowLarge(wxCommandEvent & e) > >> +void ScreenFrame::OnMainWindowLarge(wxCommandEvent & WXUNUSED(event)) > >> { > >> SizeMainWindow(900, 600); > >> } > >> @@ -567,92 +567,92 @@ > >> Show(); > >> } > >> > >> -void ScreenFrame::OnCaptureWindowContents(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureWindowContents(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("window")); > >> } > >> > >> -void ScreenFrame::OnCaptureFullWindow(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureFullWindow(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("fullwindow")); > >> } > >> > >> -void ScreenFrame::OnCaptureWindowPlus(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureWindowPlus(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("windowplus")); > >> } > >> > >> -void ScreenFrame::OnCaptureFullScreen(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureFullScreen(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("fullscreen")); > >> } > >> > >> -void ScreenFrame::OnCaptureToolbars(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureToolbars(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("toolbars")); > >> } > >> > >> -void ScreenFrame::OnCaptureSelectionBar(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureSelectionBar(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("selectionbar")); > >> } > >> > >> -void ScreenFrame::OnCaptureTools(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureTools(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("tools")); > >> } > >> > >> -void ScreenFrame::OnCaptureTransport(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureTransport(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("transport")); > >> } > >> > >> -void ScreenFrame::OnCaptureMixer(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureMixer(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("mixer")); > >> } > >> > >> -void ScreenFrame::OnCaptureMeter(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureMeter(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("meter")); > >> } > >> > >> -void ScreenFrame::OnCaptureEdit(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureEdit(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("edit")); > >> } > >> > >> -void ScreenFrame::OnCaptureDevice(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureDevice(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("device")); > >> } > >> > >> -void ScreenFrame::OnCaptureTranscription(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureTranscription(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("transcription")); > >> } > >> > >> -void ScreenFrame::OnCaptureTrackPanel(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureTrackPanel(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("trackpanel")); > >> } > >> > >> -void ScreenFrame::OnCaptureRuler(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureRuler(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("ruler")); > >> } > >> > >> -void ScreenFrame::OnCaptureTracks(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureTracks(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("tracks")); > >> } > >> > >> -void ScreenFrame::OnCaptureFirstTrack(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureFirstTrack(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("firsttrack")); > >> } > >> > >> -void ScreenFrame::OnCaptureSecondTrack(wxCommandEvent & e) > >> +void ScreenFrame::OnCaptureSecondTrack(wxCommandEvent & WXUNUSED(event)) > >> { > >> DoCapture(wxT("secondtrack")); > >> } > >> @@ -665,27 +665,27 @@ > >> mContext.proj->RedrawProject(); > >> } > >> > >> -void ScreenFrame::OnOneSec(wxCommandEvent & e) > >> +void ScreenFrame::OnOneSec(wxCommandEvent & WXUNUSED(event)) > >> { > >> TimeZoom(1.0); > >> } > >> > >> -void ScreenFrame::OnTenSec(wxCommandEvent & e) > >> +void ScreenFrame::OnTenSec(wxCommandEvent & WXUNUSED(event)) > >> { > >> TimeZoom(10.0); > >> } > >> > >> -void ScreenFrame::OnOneMin(wxCommandEvent & e) > >> +void ScreenFrame::OnOneMin(wxCommandEvent & WXUNUSED(event)) > >> { > >> TimeZoom(60.0); > >> } > >> > >> -void ScreenFrame::OnFiveMin(wxCommandEvent & e) > >> +void ScreenFrame::OnFiveMin(wxCommandEvent & WXUNUSED(event)) > >> { > >> TimeZoom(300.0); > >> } > >> > >> -void ScreenFrame::OnOneHour(wxCommandEvent & e) > >> +void ScreenFrame::OnOneHour(wxCommandEvent & WXUNUSED(event)) > >> { > >> TimeZoom(3600.0); > >> } > >> @@ -706,7 +706,7 @@ > >> mContext.proj->RedrawProject(); > >> } > >> > >> -void ScreenFrame::OnShortTracks(wxCommandEvent & e) > >> +void ScreenFrame::OnShortTracks(wxCommandEvent & WXUNUSED(event)) > >> { > >> TrackListIterator iter(mContext.proj->GetTracks()); > >> for (Track * t = iter.First(); t; t = iter.Next()) { > >> @@ -717,12 +717,12 @@ > >> mContext.proj->RedrawProject(); > >> } > >> > >> -void ScreenFrame::OnMedTracks(wxCommandEvent & e) > >> +void ScreenFrame::OnMedTracks(wxCommandEvent & WXUNUSED(event)) > >> { > >> SizeTracks(60); > >> } > >> > >> -void ScreenFrame::OnTallTracks(wxCommandEvent & e) > >> +void ScreenFrame::OnTallTracks(wxCommandEvent & WXUNUSED(event)) > >> { > >> SizeTracks(85); > >> } > >> ======================================= > >> --- /audacity-src/trunk/src/Shuttle.cpp Sat May 26 20:25:13 2012 UTC > >> +++ /audacity-src/trunk/src/Shuttle.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -237,7 +237,7 @@ > >> return true; > >> } > >> > >> -bool Shuttle::TransferString( const wxString & Name, wxString & strValue, const wxString &strDefault ) > >> +bool Shuttle::TransferString( const wxString & Name, wxString & strValue, const wxString & WXUNUSED(strDefault) ) > >> { > >> if( mbStoreInClient ) > >> { > >> @@ -272,7 +272,7 @@ > >> } > >> > >> > >> -bool Shuttle::ExchangeWithMaster(const wxString & Name) > >> +bool Shuttle::ExchangeWithMaster(const wxString & WXUNUSED(Name)) > >> { > >> // ExchangeWithMaster() will usually be over-ridden > >> // in derived classes. We could have made it an > >> ======================================= > >> --- /audacity-src/trunk/src/ShuttlePrefs.cpp Thu Aug 2 06:03:19 2012 UTC > >> +++ /audacity-src/trunk/src/ShuttlePrefs.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -116,7 +116,7 @@ > >> return false; > >> } > >> > >> -bool ShuttlePrefs::ExchangeWithMaster(const wxString & Name) > >> +bool ShuttlePrefs::ExchangeWithMaster(const wxString & WXUNUSED(Name)) > >> { > >> // ShuttlePrefs is unusual in that it overloads ALL the Transfer functions > >> // which it supports. It doesn't do any string conversion, because wxConv will > >> ======================================= > >> --- /audacity-src/trunk/src/SoundActivatedRecord.cpp Sun Jan 24 13:33:28 2010 UTC > >> +++ /audacity-src/trunk/src/SoundActivatedRecord.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -64,7 +64,7 @@ > >> S.AddStandardButtons(); > >> } > >> > >> -void SoundActivatedRecord::OnOK(wxCommandEvent & event) > >> +void SoundActivatedRecord::OnOK(wxCommandEvent & WXUNUSED(event)) > >> { > >> ShuttleGui S( this, eIsSavingToPrefs ); > >> PopulateOrExchange( S ); > >> ======================================= > >> --- /audacity-src/trunk/src/Spectrum.cpp Mon Sep 13 01:31:54 2010 UTC > >> +++ /audacity-src/trunk/src/Spectrum.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -35,7 +35,7 @@ > >> > >> bool ComputeSpectrum(float * data, int width, > >> int windowSize, > >> - double rate, float *output, > >> + double WXUNUSED(rate), float *output, > >> bool autocorrelation, int windowFunc) > >> { > >> if (width < windowSize) > >> ======================================= > >> --- /audacity-src/trunk/src/Tags.cpp Wed Jul 10 01:22:55 2013 UTC > >> +++ /audacity-src/trunk/src/Tags.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -562,7 +562,7 @@ > >> { > >> } > >> > >> - virtual void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) > >> + virtual void PaintBackground(const wxRect& WXUNUSED(rectCell), wxGridCellAttr * WXUNUSED(attr)) > >> { > >> // Ignore it (a must on the Mac as the erasure causes problems.) > >> } > >> @@ -960,7 +960,7 @@ > >> return; > >> } > >> > >> -void TagsEditor::OnEdit(wxCommandEvent & event) > >> +void TagsEditor::OnEdit(wxCommandEvent & WXUNUSED(event)) > >> { > >> if (mGrid->IsCellEditControlShown()) { > >> mGrid->SaveEditControlValue(); > >> @@ -1009,7 +1009,7 @@ > >> PopulateGenres(); > >> } > >> > >> -void TagsEditor::OnReset(wxCommandEvent & event) > >> +void TagsEditor::OnReset(wxCommandEvent & WXUNUSED(event)) > >> { > >> int id = wxMessageBox(_("Are you sure you want to reset the genre list to defaults?"), > >> _("Reset Genres"), > >> @@ -1049,14 +1049,14 @@ > >> PopulateGenres(); > >> } > >> > >> -void TagsEditor::OnClear(wxCommandEvent & event) > >> +void TagsEditor::OnClear(wxCommandEvent & WXUNUSED(event)) > >> { > >> mLocal.Clear(); > >> > >> TransferDataToWindow(); > >> } > >> > >> -void TagsEditor::OnLoad(wxCommandEvent & event) > >> +void TagsEditor::OnLoad(wxCommandEvent & WXUNUSED(event)) > >> { > >> wxString fn; > >> > >> @@ -1107,7 +1107,7 @@ > >> return; > >> } > >> > >> -void TagsEditor::OnSave(wxCommandEvent & event) > >> +void TagsEditor::OnSave(wxCommandEvent & WXUNUSED(event)) > >> { > >> wxString fn; > >> > >> @@ -1176,7 +1176,7 @@ > >> } > >> } > >> > >> -void TagsEditor::OnSaveDefaults(wxCommandEvent & event) > >> +void TagsEditor::OnSaveDefaults(wxCommandEvent & WXUNUSED(event)) > >> { > >> // Refresh tags > >> TransferDataFromWindow(); > >> @@ -1216,12 +1216,12 @@ > >> } > >> } > >> > >> -void TagsEditor::OnAdd(wxCommandEvent & event) > >> +void TagsEditor::OnAdd(wxCommandEvent & WXUNUSED(event)) > >> { > >> mGrid->AppendRows(); > >> } > >> > >> -void TagsEditor::OnRemove(wxCommandEvent & event) > >> +void TagsEditor::OnRemove(wxCommandEvent & WXUNUSED(event)) > >> { > >> size_t row = mGrid->GetCursorRow(); > >> > >> @@ -1239,7 +1239,7 @@ > >> } > >> } > >> > >> -void TagsEditor::OnOk(wxCommandEvent & event) > >> +void TagsEditor::OnOk(wxCommandEvent & WXUNUSED(event)) > >> { > >> if (mGrid->IsCellEditControlShown()) { > >> mGrid->SaveEditControlValue(); > >> @@ -1263,7 +1263,7 @@ > >> EndModal(wxID_OK); > >> } > >> > >> -void TagsEditor::OnCancel(wxCommandEvent & event) > >> +void TagsEditor::OnCancel(wxCommandEvent & WXUNUSED(event)) > >> { > >> if (mGrid->IsCellEditControlShown()) { > >> mGrid->GetCellEditor(mGrid->GetGridCursorRow(), > >> ======================================= > >> --- /audacity-src/trunk/src/TimeTrack.cpp Wed Feb 20 23:42:58 2013 UTC > >> +++ /audacity-src/trunk/src/TimeTrack.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -186,7 +186,7 @@ > >> return false; > >> } > >> > >> -void TimeTrack::HandleXMLEndTag(const wxChar *tag) > >> +void TimeTrack::HandleXMLEndTag(const wxChar * WXUNUSED(tag)) > >> { > >> if(mRescaleXMLValues) > >> { > >> ======================================= > >> --- /audacity-src/trunk/src/TimerRecordDialog.cpp Sat Feb 23 04:33:20 2013 UTC > >> +++ /audacity-src/trunk/src/TimerRecordDialog.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -99,7 +99,7 @@ > >> { > >> } > >> > >> -void TimerRecordDialog::OnTimer(wxTimerEvent& event) > >> +void TimerRecordDialog::OnTimer(wxTimerEvent& WXUNUSED(event)) > >> { > >> wxDateTime dateTime_UNow = wxDateTime::UNow(); > >> if (m_DateTime_Start < dateTime_UNow) { > >> @@ -110,7 +110,7 @@ > >> } > >> } > >> > >> -void TimerRecordDialog::OnDatePicker_Start(wxDateEvent& event) > >> +void TimerRecordDialog::OnDatePicker_Start(wxDateEvent& WXUNUSED(event)) > >> { > >> m_DateTime_Start = m_pDatePickerCtrl_Start->GetValue(); > >> double dTime = m_pTimeTextCtrl_Start->GetTimeValue(); > >> @@ -132,7 +132,7 @@ > >> this->UpdateEnd(); > >> } > >> > >> -void TimerRecordDialog::OnTimeText_Start(wxCommandEvent& event) > >> +void TimerRecordDialog::OnTimeText_Start(wxCommandEvent& WXUNUSED(event)) > >> { > >> //v TimeTextCtrl doesn't implement upper ranges, i.e., if I tell it "024 h 060 m 060 s", then > >> // user increments the hours past 23, it rolls over to 0 (although if you increment below 0, it stays at 0). > >> @@ -150,7 +150,7 @@ > >> this->OnDatePicker_Start(dummyDateEvent); > >> } > >> > >> -void TimerRecordDialog::OnDatePicker_End(wxDateEvent& event) > >> +void TimerRecordDialog::OnDatePicker_End(wxDateEvent& WXUNUSED(event)) > >> { > >> m_DateTime_End = m_pDatePickerCtrl_End->GetValue(); > >> double dTime = m_pTimeTextCtrl_End->GetTimeValue(); > >> @@ -172,7 +172,7 @@ > >> this->UpdateDuration(); // Keep Start constant and update Duration for changed End. > >> } > >> > >> -void TimerRecordDialog::OnTimeText_End(wxCommandEvent& event) > >> +void TimerRecordDialog::OnTimeText_End(wxCommandEvent& WXUNUSED(event)) > >> { > >> //v TimeTextCtrl doesn't implement upper ranges, i.e., if I tell it "024 h 060 m 060 s", then > >> // user increments the hours past 23, it rolls over to 0 (although if you increment below 0, it stays at 0). > >> @@ -190,7 +190,7 @@ > >> this->OnDatePicker_End(dummyDateEvent); > >> } > >> > >> -void TimerRecordDialog::OnTimeText_Duration(wxCommandEvent& event) > >> +void TimerRecordDialog::OnTimeText_Duration(wxCommandEvent& WXUNUSED(event)) > >> { > >> double dTime = m_pTimeTextCtrl_Duration->GetTimeValue(); > >> long hr = (long)(dTime / 3600.0); > >> @@ -201,7 +201,7 @@ > >> this->UpdateEnd(); // Keep Start constant and update End for changed Duration. > >> } > >> > >> -void TimerRecordDialog::OnOK(wxCommandEvent& event) > >> +void TimerRecordDialog::OnOK(wxCommandEvent& WXUNUSED(event)) > >> { > >> this->TransferDataFromWindow(); > >> if (!m_TimeSpan_Duration.IsPositive()) > >> ======================================= > >> --- /audacity-src/trunk/src/TrackArtist.cpp Thu May 30 23:14:25 2013 UTC > >> +++ /audacity-src/trunk/src/TrackArtist.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -1174,7 +1174,7 @@ > >> void TrackArtist::DrawIndividualSamples(wxDC &dc, const wxRect &r, > >> float zoomMin, float zoomMax, bool dB, > >> WaveClip *clip, > >> - double t0, double pps, double h, > >> + double t0, double pps, double WXUNUSED(h), > >> bool drawSamples, bool showPoints, bool muted) > >> { > >> double rate = clip->GetRate(); > >> @@ -1621,10 +1621,10 @@ > >> } > >> > >> > >> -void TrackArtist::DrawTimeSlider(WaveTrack *track, > >> +void TrackArtist::DrawTimeSlider(WaveTrack * WXUNUSED(track), > >> wxDC & dc, > >> const wxRect & r, > >> - const ViewInfo *viewInfo, > >> + const ViewInfo * WXUNUSED(viewInfo), > >> bool rightwards) > >> { > >> const int border = 3; // 3 pixels all round. > >> ======================================= > >> --- /audacity-src/trunk/src/TrackPanel.cpp Sat Aug 24 20:30:47 2013 UTC > >> +++ /audacity-src/trunk/src/TrackPanel.cpp Sun Aug 25 21:51:26 2013 UTC > >> @@ -2072,7 +2072,7 @@ > >> // find nearest beat to sel0, sel1 > >> double minPeriod = 0.05; // minimum beat period > >> double qBeat0, qBeat1; > >> - double centerBeat; > >> + double centerBeat = 0.0f; > >> mStretchSel0 = nt->NearestBeatTime(mViewInfo->sel0, &qBeat0); > >> mStretchSel1 = nt->NearestBeatTime(mViewInfo->sel1, &qBeat1); > >> > >> @@ -3614,7 +3614,7 @@ > >> /// Determines if we can edit samples in a wave track. > >> /// Also pops up warning messages in certain cases where we can't. > >> /// @return true if we can edit the samples, false otherwise. > >> -bool TrackPan... [truncated message content] |