Closed Bug 1733038 Opened 3 years ago Closed 3 years ago

Fix non-unified build warnings in dom/quota/

Categories

(Core :: Storage: Quota Manager, task, P3)

task

Tracking

()

RESOLVED DUPLICATE of bug 1733034
Tracking Status
firefox-esr78 --- wontfix
firefox-esr91 --- wontfix
firefox92 --- wontfix
firefox93 --- wontfix
firefox94 --- wontfix

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

Attachments

(1 obsolete file)

Building with ac_add_options --disable-unified-build on macOS hits the following warnings-as-errors:

dom/quota/test/gtest/TestFlatten.cpp:18:3 [-Wunreachable-code-loop-increment] loop will run at most once (loop increment never executed)
dom/quota/test/gtest/TestFlatten.cpp:26:3 [-Wunreachable-code-loop-increment] loop will run at most once (loop increment never executed)
dom/quota/test/gtest/TestFlatten.cpp:34:3 [-Wunreachable-code-loop-increment] loop will run at most once (loop increment never executed)

Building with ac_add_options --disable-unified-build on macOS hits the following warnings-as-errors:

dom/quota/test/gtest/TestFlatten.cpp:18:3 [-Wunreachable-code-loop-increment] loop will run at most once (loop increment never executed)
dom/quota/test/gtest/TestFlatten.cpp:26:3 [-Wunreachable-code-loop-increment] loop will run at most once (loop increment never executed)
dom/quota/test/gtest/TestFlatten.cpp:34:3 [-Wunreachable-code-loop-increment] loop will run at most once (loop increment never executed)

Attachment #9243361 - Attachment is obsolete: true

Abandoning this bug because glandium has posted an alternative fix in bug 1733034.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: