mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 15:46:42 +02:00
fix unused parameter warning
This commit is contained in:
parent
e13a78c52f
commit
aa32ced692
1 changed files with 3 additions and 0 deletions
|
@ -60,7 +60,10 @@ PcmDevice getPcmDevice(const std::string& soundcard)
|
|||
for (auto dev : pcmDevices)
|
||||
if (dev.name.find(soundcard) != string::npos)
|
||||
return dev;
|
||||
#else
|
||||
std::ignore = soundcard;
|
||||
#endif
|
||||
|
||||
PcmDevice pcmDevice;
|
||||
return pcmDevice;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue