mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fix some compiler warnings
This commit is contained in:
parent
0f307122d9
commit
82f1fd57a4
23 changed files with 88 additions and 101 deletions
|
|
@ -298,9 +298,6 @@ private:
|
|||
}
|
||||
};
|
||||
|
||||
constexpr const char* HostAudioProcessorImpl::innerStateTag;
|
||||
constexpr const char* HostAudioProcessorImpl::editorStyleTag;
|
||||
|
||||
//==============================================================================
|
||||
constexpr auto margin = 10;
|
||||
|
||||
|
|
|
|||
|
|
@ -155,13 +155,9 @@ public:
|
|||
pointer_sized_int handleVstPluginCanDo (int32, pointer_sized_int, void* ptr, float) override
|
||||
{
|
||||
if (auto* str = static_cast<const char*> (ptr))
|
||||
{
|
||||
if (strcmp (str, "hasCockosEmbeddedUI") == 0)
|
||||
return 0xbeef0000;
|
||||
|
||||
if (strcmp (str, "hasCockosExtensions") == 0)
|
||||
return 0xbeef0000;
|
||||
}
|
||||
for (auto* key : { "hasCockosEmbeddedUI", "hasCockosExtensions" })
|
||||
if (strcmp (str, key) == 0)
|
||||
return (pointer_sized_int) 0xbeef0000;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue