Merge "Remove reduntant clearing of GpsLocation memory"

This commit is contained in:
Linux Build Service Account 2014-09-21 15:49:51 -07:00 committed by Gerrit - the friendly Code Review server
commit e3900d7339

View file

@ -2008,7 +2008,6 @@ static int loc_eng_get_zpp_handler(loc_eng_data_s_type &loc_eng_data)
GpsLocationExtended locationExtended; GpsLocationExtended locationExtended;
memset(&locationExtended, 0, sizeof (GpsLocationExtended)); memset(&locationExtended, 0, sizeof (GpsLocationExtended));
locationExtended.size = sizeof(locationExtended); locationExtended.size = sizeof(locationExtended);
memset(&location, 0, sizeof location);
ret_val = loc_eng_data.adapter->getZpp(location.gpsLocation, tech_mask); ret_val = loc_eng_data.adapter->getZpp(location.gpsLocation, tech_mask);
//Mark the location source as from ZPP //Mark the location source as from ZPP