mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 01:18:38 -05:00
Fix warning
Fixes: sdrgui/device/deviceuiset.cpp:353:36: 2nd function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
This commit is contained in:
parent
1f9c7efcab
commit
5cbc9fd834
@ -347,7 +347,7 @@ void DeviceUISet::loadRxChannelSettings(const Preset *preset, PluginAPI *pluginA
|
||||
qDebug("DeviceUISet::loadRxChannelSettings: creating new channel [%s] from config [%s]",
|
||||
qPrintable((*channelRegistrations)[i].m_channelIdURI),
|
||||
qPrintable(channelConfig.m_channelIdURI));
|
||||
BasebandSampleSink *rxChannel;
|
||||
BasebandSampleSink *rxChannel = nullptr;
|
||||
PluginInterface *pluginInterface = (*channelRegistrations)[i].m_plugin;
|
||||
pluginInterface->createRxChannel(m_deviceAPI, &rxChannel, &channelAPI);
|
||||
rxChannelGUI = pluginInterface->createRxChannelGUI(this, rxChannel);
|
||||
|
Loading…
Reference in New Issue
Block a user