mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1125776: Part1. Fix initialization of variables. r=cajbir
They could be used when non-initialized.
This commit is contained in:
parent
6a135e527a
commit
9264bf02f5
@ -160,7 +160,7 @@ TrackBuffer::AppendData(LargeDataBuffer* aData, int64_t aTimestampOffset)
|
||||
return false;
|
||||
}
|
||||
|
||||
int64_t start, end;
|
||||
int64_t start = 0, end = 0;
|
||||
if (mParser->ParseStartAndEndTimestamps(aData, start, end)) {
|
||||
start += aTimestampOffset;
|
||||
end += aTimestampOffset;
|
||||
|
Loading…
Reference in New Issue
Block a user