mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
(JACK) Minor style nits
This commit is contained in:
parent
b92711ddce
commit
cc70847aa7
@ -103,12 +103,11 @@ static void shutdown_cb(void *data)
|
||||
static int parse_ports(char **dest_ports, const char **jports)
|
||||
{
|
||||
int i;
|
||||
char *save = NULL, *audio_device_cpy;
|
||||
int parsed = 0;
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
audio_device_cpy = strdup(settings->audio.device);
|
||||
const char *con = strtok_r(audio_device_cpy, ",", &save);
|
||||
char *save = NULL;
|
||||
int parsed = 0;
|
||||
settings_t *settings = config_get_ptr();
|
||||
char *audio_device_cpy = strdup(settings->audio.device);
|
||||
const char *con = strtok_r(audio_device_cpy, ",", &save);
|
||||
|
||||
if (con)
|
||||
dest_ports[parsed++] = strdup(con);
|
||||
|
Loading…
x
Reference in New Issue
Block a user