File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3822,12 +3822,13 @@ struct dpf_edit_controller : v3_edit_controller_cpp {
38223822 static v3_plugin_view** V3_API create_view (void * self, const char * name)
38233823 {
38243824 d_debug (" dpf_edit_controller::create_view => %p %s" , self, name);
3825+
3826+ #if DISTRHO_PLUGIN_HAS_UI
38253827 dpf_edit_controller* const controller = *static_cast <dpf_edit_controller**>(self);
38263828
38273829 d_debug (" create_view has contexts %p %p" ,
38283830 controller->hostApplicationFromFactory , controller->hostApplicationFromInitialize );
38293831
3830- #if DISTRHO_PLUGIN_HAS_UI
38313832 // plugin must be initialized
38323833 PluginVst3* const vst3 = controller->vst3 ;
38333834 DISTRHO_SAFE_ASSERT_RETURN (vst3 != nullptr , nullptr );
@@ -3874,6 +3875,9 @@ struct dpf_edit_controller : v3_edit_controller_cpp {
38743875 #else
38753876 return nullptr ;
38763877 #endif
3878+
3879+ // unused unless debug
3880+ (void )name;
38773881 }
38783882};
38793883
@@ -4408,6 +4412,9 @@ struct dpf_component : v3_component_cpp {
44084412
44094413 // TODO
44104414 return V3_NOT_IMPLEMENTED;
4415+
4416+ // unused
4417+ (void )io_mode;
44114418 }
44124419
44134420 static int32_t V3_API get_bus_count (void * const self, const int32_t media_type, const int32_t bus_direction)
You can’t perform that action at this time.
0 commit comments