(JACK) Minor style nits
This commit is contained in:
parent
b92711ddce
commit
cc70847aa7
|
@ -103,11 +103,10 @@ static void shutdown_cb(void *data)
|
||||||
static int parse_ports(char **dest_ports, const char **jports)
|
static int parse_ports(char **dest_ports, const char **jports)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
char *save = NULL, *audio_device_cpy;
|
char *save = NULL;
|
||||||
int parsed = 0;
|
int parsed = 0;
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
char *audio_device_cpy = strdup(settings->audio.device);
|
||||||
audio_device_cpy = strdup(settings->audio.device);
|
|
||||||
const char *con = strtok_r(audio_device_cpy, ",", &save);
|
const char *con = strtok_r(audio_device_cpy, ",", &save);
|
||||||
|
|
||||||
if (con)
|
if (con)
|
||||||
|
|
Loading…
Reference in New Issue