1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Fix use of uninitialised variable

This commit is contained in:
Jon Beniston 2021-01-29 12:58:40 +00:00
parent d80087b974
commit 930e3d16f9

View File

@ -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;