1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed some gcc 8 compiler warnings

This commit is contained in:
Tom Poole 2018-07-10 17:41:26 +01:00
parent 08d67c763f
commit 6cff481c6a
9 changed files with 46 additions and 43 deletions

View file

@ -289,7 +289,7 @@ void HeaderComponent::initialiseButtons() noexcept
{
sendProjectButtonAnalyticsEvent ("User Settings");
if (auto* pcc = findParentComponentOfClass<ProjectContentComponent>())
if (findParentComponentOfClass<ProjectContentComponent>() != nullptr)
showUserSettings();
};