File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3822,12 +3822,13 @@ struct dpf_edit_controller : v3_edit_controller_cpp {
3822
3822
static v3_plugin_view** V3_API create_view (void * self, const char * name)
3823
3823
{
3824
3824
d_debug (" dpf_edit_controller::create_view => %p %s" , self, name);
3825
+
3826
+ #if DISTRHO_PLUGIN_HAS_UI
3825
3827
dpf_edit_controller* const controller = *static_cast <dpf_edit_controller**>(self);
3826
3828
3827
3829
d_debug (" create_view has contexts %p %p" ,
3828
3830
controller->hostApplicationFromFactory , controller->hostApplicationFromInitialize );
3829
3831
3830
- #if DISTRHO_PLUGIN_HAS_UI
3831
3832
// plugin must be initialized
3832
3833
PluginVst3* const vst3 = controller->vst3 ;
3833
3834
DISTRHO_SAFE_ASSERT_RETURN (vst3 != nullptr , nullptr );
@@ -3874,6 +3875,9 @@ struct dpf_edit_controller : v3_edit_controller_cpp {
3874
3875
#else
3875
3876
return nullptr ;
3876
3877
#endif
3878
+
3879
+ // unused unless debug
3880
+ (void )name;
3877
3881
}
3878
3882
};
3879
3883
@@ -4408,6 +4412,9 @@ struct dpf_component : v3_component_cpp {
4408
4412
4409
4413
// TODO
4410
4414
return V3_NOT_IMPLEMENTED;
4415
+
4416
+ // unused
4417
+ (void )io_mode;
4411
4418
}
4412
4419
4413
4420
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