From 768f1bd61e339e95caa95861c1feb12d9d7a3874 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 22 Oct 2024 18:45:18 +0200 Subject: Fix shadow variable --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 14af15d..a47e4fc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2310,8 +2310,8 @@ static std::vector parse_audio_inputs(const AudioDevices &aud fprintf(stderr, " default_output (Default output)\n"); if(!audio_devices.default_input.empty()) fprintf(stderr, " default_input (Default input)\n"); - for(const auto &existing_audio_input : audio_devices.audio_inputs) { - fprintf(stderr, " %s (%s)\n", existing_audio_input.name.c_str(), existing_audio_input.description.c_str()); + for(const auto &audio_input : audio_devices.audio_inputs) { + fprintf(stderr, " %s (%s)\n", audio_input.name.c_str(), audio_input.description.c_str()); } _exit(2); } -- cgit v1.2.3