forked from organicmaps/organicmaps
Fix warning
This commit is contained in:
parent
c91e5283b7
commit
c864b4d450
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ void ParsedMapApi::AddKeyValue(string key, string const & value, vector<ApiPoint
|
|||
return;
|
||||
}
|
||||
|
||||
double lat, lon;
|
||||
double lat = 0.0;
|
||||
double lon = 0.0;
|
||||
if (!strings::to_double(value.substr(0, firstComma), lat) ||
|
||||
!strings::to_double(value.substr(firstComma + 1), lon))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue