зеркало из https://github.com/mozilla/gecko-dev.git
Bug 647557 - Uninitialized variable transitionType in History::UpdatePlaces; r=sdwilsh
This commit is contained in:
Родитель
29ecf466fa
Коммит
b5f976fc86
|
@ -1909,7 +1909,7 @@ History::UpdatePlaces(const jsval& aPlaceInfos,
|
|||
// We must have a date and a transaction type!
|
||||
rv = GetIntFromJSObject(aCtx, visit, "visitDate", &data.visitTime);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
PRUint32 transitionType;
|
||||
PRUint32 transitionType = 0;
|
||||
rv = GetIntFromJSObject(aCtx, visit, "transitionType", &transitionType);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
NS_ENSURE_ARG_RANGE(transitionType,
|
||||
|
|
Загрузка…
Ссылка в новой задаче