mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-12 10:48:42 -04:00
Fixed pointer initialization. Fixes #1000
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user