ActorsParent.cpp:8632:5: warning: 'removed' may be used uninitialized in this function [-Wmaybe-uninitialized]

NEW
Unassigned

Status

()

Core
DOM: Quota Manager
P3
normal
a year ago
a year ago

People

(Reporter: shawnjohnjr, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

mozilla-inbound/dom/quota/ActorsParent.cpp: In function 'nsresult mozilla::dom::quota::{anonymous}::UpgradeStorageFrom1_0To2_0Helper::DoUpgrade()':
mozilla-inbound/dom/quota/ActorsParent.cpp:8632:5: warning: 'removed' may be used uninitialized in this function [-Wmaybe-uninitialized]
mozilla-inbound/dom/quota/ActorsParent.cpp:8627:10: note: 'removed' was declared here
Priority: -- → P3

Comment 1

a year ago
What compiler and what OS ?

I don't see any warnings on mac with clang. Treeherder is also happy and it uses --enable-warnings-as-errors as far as I know.
(In reply to Jan Varga [:janv] from comment #1)
> What compiler and what OS ?
> 
> I don't see any warnings on mac with clang. Treeherder is also happy and it
> uses --enable-warnings-as-errors as far as I know.
gcc 5.4, on Linux X86 64bit (Ubuntu 16.04). It's just the "-Wmaybe-uninitialized" option, and it won't stop the building process.
You need to log in before you can comment on or make changes to this bug.