Fix false is not a good pointer warning

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jrmuizel, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
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
Attachment #586541 - Flags: review?(bhackett1024)
(Reporter)

Updated

5 years ago
Attachment #586541 - Flags: review?(bhackett1024)
(Reporter)

Comment 1

5 years ago
Nevermind this is already fixed.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.