Fix non-unified build error in image/
Categories
(Core :: Graphics: ImageLib, task, P3)
Tracking
()
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(2 files)
Building with ac_add_options --disable-unified-build
on macOS hits the following -Wunused-const-variable warning-as-error:
image/decoders/icon/nsIconURI.cpp:39:22 [-Wunused-const-variable] unused variable 'kIconURICID'.
kIconURICID
was added in bug 1583044. The only use of kIconURICID
was later removed in bug 1589337, leaving kIconURICID
still defined but unused.
Assignee | ||
Comment 1•3 years ago
|
||
Building with ac_add_options --disable-unified-build
on macOS hits the following -Wunused-const-variable warning-as-error:
image/decoders/icon/nsIconURI.cpp:39:22 [-Wunused-const-variable] unused variable 'kIconURICID'.
kIconURICID
was added in bug 1583044. The only use of kIconURICID
was later removed in bug 1589337, leaving kIconURICID
still defined but unused.
Assignee | ||
Comment 2•3 years ago
|
||
These are just small clean-ups. They're not non-unified build errors.
The function extractAttributeValue can be made static and doesn't need a forward declaration. All the callers of this function are in this .cpp file, after the function definition.
Depends on D126419
Pushed by cpeterson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c7ea3f63682a Fix non-unified build error in image/. r=tnikkel https://hg.mozilla.org/integration/autoland/rev/bda89b20f8ae Make some nsIconURI.cpp variables const and a function static. r=tnikkel
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c7ea3f63682a
https://hg.mozilla.org/mozilla-central/rev/bda89b20f8ae
Assignee | ||
Updated•3 years ago
|
Description
•