Mixer: Clean up some compiler warnings.
This commit is contained in:
parent
684983e19d
commit
c713db6f34
|
@ -400,7 +400,7 @@ Chain::can_configure_outputs ( Module *m, int n ) const
|
|||
return true;
|
||||
}
|
||||
|
||||
int
|
||||
unsigned int
|
||||
Chain::maximum_name_length ( void )
|
||||
{
|
||||
return JACK::Client::maximum_name_length() - ( strlen( APP_NAME ) + 1 + ( instance_name ? strlen( instance_name ) + 1 : 0 ) );
|
||||
|
|
|
@ -116,7 +116,7 @@ public:
|
|||
|
||||
void log_children ( void );
|
||||
|
||||
static int maximum_name_length ( void );
|
||||
static unsigned int maximum_name_length ( void );
|
||||
|
||||
Engine *engine ( void ) const { return _engine; }
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ JACK_Module::~JACK_Module ( )
|
|||
|
||||
|
||||
int
|
||||
JACK_Module::can_support_inputs ( int n )
|
||||
JACK_Module::can_support_inputs ( int )
|
||||
{
|
||||
return audio_output.size();
|
||||
}
|
||||
|
|
|
@ -682,7 +682,7 @@ LADSPAInfo::MetadataRDFDescend(const char * uri,
|
|||
// Add any instances found
|
||||
lrdf_uris * instances = lrdf_get_instances(uri);
|
||||
if (instances) {
|
||||
for (long j = 0; j < instances->count; j++) {
|
||||
for (unsigned long j = 0; j < instances->count; j++) {
|
||||
unsigned long uid = lrdf_get_uid(instances->items[j]);
|
||||
if (m_IDLookup.find(uid) != m_IDLookup.end()) {
|
||||
ri.Plugins.push_back(m_IDLookup[uid]);
|
||||
|
@ -713,7 +713,7 @@ LADSPAInfo::MetadataRDFDescend(const char * uri,
|
|||
lrdf_uris * uris = lrdf_get_subclasses(uri);
|
||||
|
||||
if (uris) {
|
||||
for (long i = 0; i < uris->count; i++) {
|
||||
for (unsigned long i = 0; i < uris->count; i++) {
|
||||
MetadataRDFDescend(uris->items[i], this_uri_index);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -258,7 +258,7 @@ Mixer_Strip::name ( const char *name ) {
|
|||
}
|
||||
|
||||
void
|
||||
Mixer_Strip::configure_outputs ( Fl_Widget *o, void *v )
|
||||
Mixer_Strip::configure_outputs ( Fl_Widget *, void *v )
|
||||
{
|
||||
((Mixer_Strip*)v)->configure_outputs();
|
||||
}
|
||||
|
@ -317,8 +317,6 @@ Mixer_Strip::init ( )
|
|||
set_visible_focus();
|
||||
clip_children( 1 );
|
||||
|
||||
Fl_Pack *gain_pack;
|
||||
|
||||
{ Fl_Pack *o = new Fl_Pack( 2, 2, 114, 100 );
|
||||
o->type( Fl_Pack::VERTICAL );
|
||||
o->spacing( 2 );
|
||||
|
@ -379,9 +377,6 @@ Mixer_Strip::init ( )
|
|||
o->callback( cb_handle, this );
|
||||
o->when(FL_WHEN_RELEASE);
|
||||
}
|
||||
// { Fl_Pack* o = new Fl_Pack(8, 208, 103, 471);
|
||||
// { Fl_Pack* o = gain_pack = new Fl_Pack(8, 208, 103, 516 );
|
||||
|
||||
o->end();
|
||||
}
|
||||
|
||||
|
|
|
@ -268,7 +268,7 @@ Module_Parameter_Editor::cb_value_handle ( Fl_Widget *w, void *v )
|
|||
}
|
||||
|
||||
void
|
||||
Module_Parameter_Editor::cb_mode_handle ( Fl_Widget *w, void *v )
|
||||
Module_Parameter_Editor::cb_mode_handle ( Fl_Widget *, void *v )
|
||||
{
|
||||
((Module_Parameter_Editor*)v)->make_controls();
|
||||
}
|
||||
|
|
|
@ -265,7 +265,7 @@ Plugin_Module::configure_inputs( int n )
|
|||
}
|
||||
|
||||
void *
|
||||
Plugin_Module::discover_thread ( void * v )
|
||||
Plugin_Module::discover_thread ( void * )
|
||||
{
|
||||
THREAD_ASSERT( Plugin_Discover );
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ ensure_dirs ( void )
|
|||
|
||||
#include <signal.h>
|
||||
|
||||
static void cb_main ( Fl_Double_Window *o, void *v )
|
||||
static void cb_main ( Fl_Double_Window *o, void *)
|
||||
{
|
||||
if ( Fl::event_key() != FL_Escape )
|
||||
o->hide();
|
||||
|
|
Loading…
Reference in New Issue