1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

Fixed pointer initialization. Fixes #1000

This commit is contained in:
f4exb 2021-09-26 11:51:03 +02:00
parent a7b9bb2de4
commit 3e6fe8afef

View File

@ -148,7 +148,7 @@ void DeviceSet::loadRxChannelSettings(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