aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-22 18:45:18 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-22 18:45:18 +0200
commit768f1bd61e339e95caa95861c1feb12d9d7a3874 (patch)
tree0c08d9d2f5e0d2d7fd546961b1690b87f38b5a15
parent7428f9ffee272aac769ae41c8bce8397e836faf7 (diff)
Fix shadow variable
-rw-r--r--src/main.cpp4
1 files 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<MergedAudioInputs> 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);
}