mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-29 05:22:25 -04: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++)
|
for (int i = 0; i < preset->getChannelCount(); i++)
|
||||||
{
|
{
|
||||||
const Preset::ChannelConfig& channelConfig = preset->getChannelConfig(i);
|
const Preset::ChannelConfig& channelConfig = preset->getChannelConfig(i);
|
||||||
ChannelAPI *channelAPI;
|
ChannelAPI *channelAPI = nullptr;
|
||||||
|
|
||||||
// if we have one instance available already, use it
|
// if we have one instance available already, use it
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user