Remove stray comma

Fixes cppcheck error:
src/gen_tone.c:580:0: error: failed to expand 'strlcpy', Wrong number of parameters for macro 'strlcpy'. [preprocessorErrorDirective]
 strlcpy (my_audio_config.adev[0].adevice_out, DEFAULT_ADEVICE, , sizeof(my_audio_config.adev[0].adevice_out));
^
This commit is contained in:
Daniele Forsi 2023-04-02 16:31:31 +02:00
parent 11468f26f8
commit 3091ef5351
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ int main ()
memset (&my_audio_config, 0, sizeof(my_audio_config));
strlcpy (my_audio_config.adev[0].adevice_in, DEFAULT_ADEVICE, sizeof(my_audio_config.adev[0].adevice_in));
strlcpy (my_audio_config.adev[0].adevice_out, DEFAULT_ADEVICE, , sizeof(my_audio_config.adev[0].adevice_out));
strlcpy (my_audio_config.adev[0].adevice_out, DEFAULT_ADEVICE, sizeof(my_audio_config.adev[0].adevice_out));
my_audio_config.adev[0].num_channels = 2;
audio_open (&my_audio_config);