diff options
author | David Robillard <d@drobilla.net> | 2014-08-08 02:20:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-08-08 02:20:44 +0000 |
commit | a466690f87b9e2e5cedaa5d357d4da8a6b06669c (patch) | |
tree | 34ce174598e75f959a65b3394c83ba5ceff620e4 | |
parent | 2e0b94440ed055c738f63ceaba16e6bc993c9221 (diff) | |
download | patchage-a466690f87b9e2e5cedaa5d357d4da8a6b06669c.tar.gz patchage-a466690f87b9e2e5cedaa5d357d4da8a6b06669c.tar.bz2 patchage-a466690f87b9e2e5cedaa5d357d4da8a6b06669c.zip |
Fix various warnings.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5421 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/JackDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 7e73de6..b0b5ae8 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -186,11 +186,11 @@ JackDriver::create_port(PatchageModule& parent, jack_port_t* port, PortID id) const char* const type_str = jack_port_type(port); char* pretty_name = NULL; - char* datatype = NULL; PortType port_type; #ifdef HAVE_JACK_METADATA - const jack_uuid_t uuid = jack_port_uuid(port); + char* datatype = NULL; + const jack_uuid_t uuid = jack_port_uuid(port); jack_get_property(uuid, JACK_METADATA_PRETTY_NAME, &pretty_name, &datatype); #endif |