Last Comment Bug 716032 - Fix false is not a good pointer warning
: Fix false is not a good pointer warning
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: x86 Mac OS X
: -- normal (vote)
: ---
Assigned To: general
:
: Jason Orendorff [:jorendorff]
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-06 13:07 PST by Jeff Muizelaar [:jrmuizel]
Modified: 2012-01-06 13:10 PST (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Fix false is not a good pointer warning (788 bytes, patch)
2012-01-06 13:07 PST, Jeff Muizelaar [:jrmuizel]
no flags Details | Diff | Splinter Review

Description Jeff Muizelaar [:jrmuizel] 2012-01-06 13:07:58 PST
Created attachment 586541 [details] [diff] [review]
Fix false is not a good pointer warning

/Users/jrmuizel/source/mozilla-central/js/src/jsscope.cpp:1074:20: warning: initialization of pointer of type 'js::Shape *' to null from a
      constant boolean expression [-Wbool-conversions]
            return false;
                   ^~~~~
/Users/jrmuizel/source/mozilla-central/js/src/jsscope.cpp:1083:20: warning: initialization of pointer of type 'js::Shape *' to null from a
      constant boolean expression [-Wbool-conversions]
            return false;
                   ^~~~~
jstypedarray.cpp
Comment 1 Jeff Muizelaar [:jrmuizel] 2012-01-06 13:10:53 PST
Nevermind this is already fixed.

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