Browse Source

libjack: set status pointer to 0, to mean no errors

tags/1.9.8
falkTX 7 years ago
parent
commit
aae1ca5027
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      source/libjack/libjack.cpp

+ 5
- 0
source/libjack/libjack.cpp View File

@@ -1047,7 +1047,12 @@ jack_client_t* jack_client_open(const char* client_name, jack_options_t options,
carla_debug("%s(%s, 0x%x, %p)", __FUNCTION__, client_name, options, status);

if (JackClientState* const client = gClient.addClient(client_name))
{
if (status != nullptr)
*status = static_cast<JackStatus>(0x0);

return (jack_client_t*)client;
}

if (status != nullptr)
*status = JackServerError;


Loading…
Cancel
Save