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

Fix many MSVC compiler warnings.

This commit is contained in:
James Crook
2018-10-29 13:19:33 +00:00
parent 6fe0c6dd45
commit 76166135d4
10 changed files with 19 additions and 12 deletions

View File

@@ -570,7 +570,8 @@ namespace MenuTable {
std::forward<Args>(args)... ); }
inline BaseItemPtr Items(
const wxString &title, BaseItemPtrs &&items )
{ return std::make_unique<GroupItem>( std::move( items ) ); }
{ (void)title; // Compiler food
return std::make_unique<GroupItem>( std::move( items ) ); }
// Menu items can be constructed two ways, as for group items
// Items will appear in a main toolbar menu or in a sub-menu