Closed Bug 825941 Opened 12 years ago Closed 12 years ago

Mark toolkit/components/url-classifier as warning-free

Categories

(Toolkit :: Safe Browsing, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 20

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(1 file)

Now that the patches in bug 825647 and bug 825627 have landed, toolkit/components/url-classifier is build-warning-free.

Filing this bug on marking it as such, to have our build system enforce that. (for configurations with --enable-warnings-as-errors)
Attached patch fixSplinter Review
Green Try push (on non-windows platforms), from a few days ago:
  https://tbpl.mozilla.org/?tree=Try&rev=2caa089f0e0c

(I'll do a windows try push before landing, too, since we *just* started honoring this on Windows, too, as of bug 824247's landings this morning.)
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #697048 - Flags: review?(gpascutto)
Depends on: 825647, 825627
Depends on: 826052
Windows try push failed:
  https://tbpl.mozilla.org/?tree=Try&rev=701fce62be3a
...because there's a windows-only warning -- I filed bug 826052 on that, w/ a patch.

With bug 826052 fixed, this builds successfully on windows:
  https://tbpl.mozilla.org/?tree=Try&rev=890f76852489
Comment on attachment 697048 [details] [diff] [review]
fix

Review of attachment 697048 [details] [diff] [review]:
-----------------------------------------------------------------

Rubber stamp.
Attachment #697048 - Flags: review?(gpascutto) → review+
Thanks! (oops, intended to review-ping gcp on IRC, accidentally pinged gps instead; but as a build guy he's qualified to review it as well, so it worked out. :))
I did one more try push before landing:
 https://tbpl.mozilla.org/?tree=Try&rev=7b34974603bf
and uncovered an set-but-unused variable in opt Android builds. (Apparently we're using a newer version of GCC in Android vs. Desktop, because I'm pretty sure our TBPL desktop builders don't warn about that.)

So I pushed a trivial helper-patch to mark the variable in question as DebugOnly:
  https://hg.mozilla.org/integration/mozilla-inbound/rev/e742cc9b67d3
and landed this bug's patch:
  https://hg.mozilla.org/integration/mozilla-inbound/rev/36467bcc46ad
OS: Linux → All
Hardware: x86_64 → All
https://hg.mozilla.org/mozilla-central/rev/e742cc9b67d3
https://hg.mozilla.org/mozilla-central/rev/36467bcc46ad
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: