Bug 1227119 - Set a default value for variable ret. r=dougt

This commit is contained in:
Bogdan Postelnicu 2015-11-23 06:03:00 -05:00
parent 70a561a979
commit 517857f21d

View File

@ -1456,7 +1456,7 @@ Geolocation::WatchPosition(PositionCallback& aCallback,
const PositionOptions& aOptions,
ErrorResult& aRv)
{
int32_t ret;
int32_t ret = 0;
GeoPositionCallback successCallback(&aCallback);
GeoPositionErrorCallback errorCallback(aErrorCallback);