Closed
Bug 613091
Opened 14 years ago
Closed 14 years ago
js/src/jsdbgapi.cpp:1424:16: warning: converting to non-pointer type ‘JSBool’ from NULL
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
921 bytes,
patch
|
mrbkap
:
review+
benjamin
:
approval2.0+
|
Details | Diff | Splinter Review |
> js/src/jsdbgapi.cpp: In function ‘JSBool JS_EvaluateUCInStackFrame(JSContext*, JSStackFrame*, const jschar*, uintN, const char*, uintN, jsval*)’:
> js/src/jsdbgapi.cpp:1424:16: warning: converting to non-pointer type ‘JSBool’ from NULL
Looks like we're intending to return "false" (or JS_FALSE) there.
Assignee | ||
Updated•14 years ago
|
Summary: ../../../mozilla/js/src/jsdbgapi.cpp:1424:16: warning: converting to non-pointer type ‘JSBool’ from NULL → js/src/jsdbgapi.cpp:1424:16: warning: converting to non-pointer type ‘JSBool’ from NULL
Assignee | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Comment on attachment 491391 [details] [diff] [review] trivial fix Thanks for catching this.
Attachment #491391 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 491391 [details] [diff] [review] trivial fix No problem, thanks for the quick review! :) Requesting approval to land.
Attachment #491391 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #491391 -
Flags: approval2.0? → approval2.0+
Comment 4•14 years ago
|
||
Yesterday morning I got fed up with all the 4.5-only (?) warnings I've been getting for a couple weeks, and I pushed fixes for all of them to the TM repository: http://hg.mozilla.org/tracemonkey/rev/0c72e1963839 http://hg.mozilla.org/tracemonkey/rev/2e440dc69d19 One of those fixes included this bug's complaint. So this bug is fixed in the TraceMonkey repository, and in the mozilla-central repository as of today's merge, but not by this bug's effort. :-\ Sorry for the duplication of effort...
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-tracemonkey
Target Milestone: --- → mozilla2.0b8
Assignee | ||
Comment 5•14 years ago
|
||
No prob, thanks for fixing. :)
You need to log in
before you can comment on or make changes to this bug.
Description
•