fix a few minor compilation warnings
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 3 Sep 2013 12:46:57 +0000 (08:46 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 3 Sep 2013 12:46:57 +0000 (08:46 -0400)
libs/ardour/audioengine.cc
libs/ardour/jack_utils.cc

index 79a5125606fa91225763c38fa65cefb235e038fa..5e3e5ba9e2c10882218fa8b56b37e75d5d104086 100644 (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);
-        }
+       GET_PRIVATE_JACK_POINTER (_jack);
+       jack_recompute_total_latencies (_priv_jack);
 }
 
 void
index 4cacd8ae5d6955b71e14f152c00259cff4a624bc..ecbf8976fdaf92fb61a7cb0e89e9223df0c645ea 100644 (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
 }