1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Fix some warnings for unused variables and labels...

... But not in cases where a return status is ignored.
This commit is contained in:
Paul Licameli
2016-09-18 10:59:50 -04:00
parent 54c993c4f5
commit 53936ac970
6 changed files with 10 additions and 10 deletions

View File

@@ -51,7 +51,7 @@ wxString PlatformCompatibility::ConvertSlashInFileName(const wxString& filePath)
wxString path = filePath;
wxString filename;
wxString newPath = filePath;
int pathLen = 1;
// int pathLen = 1;
while (!wxDirExists(wxPathOnly(newPath)) && ! path.IsEmpty()) {
path = newPath.BeforeLast('/');
filename = newPath.AfterLast('/');