mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1227119 - Set a default value for variable ret. r=dougt
This commit is contained in:
parent
70a561a979
commit
517857f21d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user