13
0

fix a few minor compilation warnings

This commit is contained in:
Paul Davis 2013-09-03 08:46:57 -04:00
parent 0013feddbf
commit ceaad0b287
2 changed files with 6 additions and 4 deletions

View File

@ -1624,10 +1624,8 @@ AudioEngine::request_jack_monitors_input (const std::string& portname, bool yn)
void
AudioEngine::update_latencies ()
{
if (jack_recompute_total_latencies) {
GET_PRIVATE_JACK_POINTER (_jack);
jack_recompute_total_latencies (_priv_jack);
}
}
void

View File

@ -442,6 +442,8 @@ ARDOUR::get_jack_coreaudio_device_names (device_map_t& devices)
}
delete [] coreDeviceIDs;
}
#else
(void) devices;
#endif
}
@ -583,6 +585,8 @@ ARDOUR::set_path_env_for_jack_autostart (const vector<std::string>& dirs)
// push it back into the environment so that auto-started JACK can find it.
// XXX why can't we just expect OS X users to have PATH set correctly? we can't ...
setenv ("PATH", SearchPath(dirs).to_string().c_str(), 1);
#else
(void) dirs;
#endif
}