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:
parent
a7b9bb2de4
commit
3e6fe8afef
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user