mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Fix cppcheck warnings
This commit is contained in:
@@ -103,6 +103,7 @@ namespace XSwiftBus
|
||||
return { XPLMCreateMenu(name.c_str(), m_data->id, XPLMAppendMenuItem(m_data->id, name.c_str(), nullptr, false), handler, itemsVoidPtr), false, std::move(items) };
|
||||
}
|
||||
|
||||
// cppcheck-suppress constParameter
|
||||
void CMenu::handler(void *menuRef, void *itemRef)
|
||||
{
|
||||
if (menuRef && itemRef)
|
||||
|
||||
Reference in New Issue
Block a user