mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 886184: Initialize variable 'usage' in DOMStorageDBThread.cpp, to fix -Wsometimes-uninitialized build warning. r=ehsan
This commit is contained in:
parent
42e6c4c435
commit
474c432dc2
@ -855,7 +855,7 @@ DOMStorageDBThread::DBOperation::Perform(DOMStorageDBThread* aThread)
|
||||
rv = stmt->ExecuteStep(&exists);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
int64_t usage;
|
||||
int64_t usage = 0;
|
||||
if (exists) {
|
||||
rv = stmt->GetInt64(0, &usage);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
Loading…
Reference in New Issue
Block a user