зеркало из https://github.com/mozilla/gecko-dev.git
Bug 782853 Initialize scrollType to avoid -Wsometimes-unitialized warnings r=smaug
This commit is contained in:
Родитель
4dd3a8ce38
Коммит
4879213d80
|
@ -119,7 +119,7 @@ struct ParamTraits<mozilla::widget::WheelEvent>
|
|||
|
||||
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
||||
{
|
||||
PRInt32 scrollType;
|
||||
PRInt32 scrollType = 0;
|
||||
bool rv =
|
||||
ReadParam(aMsg, aIter, static_cast<nsMouseEvent_base*>(aResult)) &&
|
||||
ReadParam(aMsg, aIter, &aResult->deltaX) &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче