Commit 1c7de0b4 authored by Max Kellermann's avatar Max Kellermann

output/shout: remove pointless memset() call

parent 58487e48
...@@ -247,7 +247,6 @@ ShoutOutput::Configure(const config_param &param, Error &error) ...@@ -247,7 +247,6 @@ ShoutOutput::Configure(const config_param &param, Error &error)
{ {
char temp[11]; char temp[11];
memset(temp, 0, sizeof(temp));
snprintf(temp, sizeof(temp), "%u", audio_format.channels); snprintf(temp, sizeof(temp), "%u", audio_format.channels);
shout_set_audio_info(shout_conn, SHOUT_AI_CHANNELS, temp); shout_set_audio_info(shout_conn, SHOUT_AI_CHANNELS, temp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment