Last Comment Bug 777657 - Fix some opt build warnings
: Fix some opt build warnings
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Graphics: Layers (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla17
Assigned To: David Zbarsky (:dzbarsky)
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-26 01:44 PDT by David Zbarsky (:dzbarsky)
Modified: 2012-07-27 08:15 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch (2.20 KB, patch)
2012-07-26 01:44 PDT, David Zbarsky (:dzbarsky)
cjones.bugs: review+
Details | Diff | Review

Description David Zbarsky (:dzbarsky) 2012-07-26 01:44:51 PDT
Created attachment 646063 [details] [diff] [review]
Patch
Comment 1 Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-07-26 02:40:22 PDT
Comment on attachment 646063 [details] [diff] [review]
Patch

>--- a/layout/ipc/RenderFrameParent.cpp
>+++ b/layout/ipc/RenderFrameParent.cpp
> static bool

Mark this |inline static bool| to work around compiler warning.  It'll
be DCE'd since it's translation-unit static.  (ifdef's should only be
used as a last resort.)

r=me with that
Comment 2 Ed Morley [:emorley] 2012-07-27 08:15:10 PDT
https://hg.mozilla.org/mozilla-central/rev/5e4adc2cfe26

Note You need to log in before you can comment on or make changes to this bug.