1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-08 08:54:49 -04:00

Some clang warnong fixes

This commit is contained in:
f4exb
2022-07-24 21:48:02 +02:00
parent 994584cabc
commit 2c3ccc49af
9 changed files with 8 additions and 17 deletions
+2 -2
View File
@@ -248,7 +248,7 @@ void DeviceSet::loadTxChannelSettings(const Preset *preset, PluginAPI *pluginAPI
for (int i = 0; i < preset->getChannelCount(); i++)
{
const Preset::ChannelConfig& channelConfig = preset->getChannelConfig(i);
ChannelAPI *channelAPI;
ChannelAPI *channelAPI = nullptr;
// if we have one instance available already, use it
@@ -346,7 +346,7 @@ void DeviceSet::loadMIMOChannelSettings(const Preset *preset, PluginAPI *pluginA
for (int i = 0; i < preset->getChannelCount(); i++)
{
const Preset::ChannelConfig& channelConfig = preset->getChannelConfig(i);
ChannelAPI *channelAPI;
ChannelAPI *channelAPI = nullptr;
// if we have one instance available already, use it