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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user