mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-12 10:48:42 -04:00
Fix use of uninitialised variable
This commit is contained in:
@@ -199,7 +199,7 @@ struct Beacon {
|
||||
idx++;
|
||||
}
|
||||
float latitude, longitude;
|
||||
if (callsign && frequency && locator && Maidenhead::fromMaidenhead(locator, latitude, longitude))
|
||||
if (callsign && frequencyString && locator && Maidenhead::fromMaidenhead(locator, latitude, longitude))
|
||||
{
|
||||
Beacon *beacon = new Beacon();
|
||||
beacon->m_callsign = callsign;
|
||||
|
||||
Reference in New Issue
Block a user