Skip to content

Commit

Permalink
Simplify continue block
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Feb 21, 2025
1 parent 2409671 commit 24d9ca7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/core/LadspaManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ LadspaManager::LadspaManager()
}
}

if (exclude) {
continue;
}

if (!f.isFile() || f.fileName().right(3).toLower() !=
if (exclude || !f.isFile() || f.fileName().right(3).toLower() !=
#ifdef LMMS_BUILD_WIN32
"dll"
#else
Expand Down

0 comments on commit 24d9ca7

Please sign in to comment.