Closed
Bug 615072
Opened 15 years ago
Closed 15 years ago
obj decl from top of Parser::letStatement is unused
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: timeless)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
|
731 bytes,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
5500 Parser::letStatement()
declared here:
5502 JSObject *obj;
5506 do {
5537 if (stmt && (stmt->flags & SIF_SCOPE)) {
5538 JS_ASSERT(tc->blockChainBox == stmt->blockBox);
assigned here:
5539 obj = tc->blockChain();
5540 } else {
shadowed here:
5569 JSObject *obj = js_NewBlockObject(tc->parser->context);
5570 if (!obj)
5571 return NULL;
5589 obj->setParent(tc->blockChain());
5611 }
loop only executes once:
5617 } while (0);
Updated•15 years ago
|
Attachment #496439 -
Flags: review?(jorendorff) → review+
Updated•15 years ago
|
Keywords: checkin-needed
Comment 2•15 years ago
|
||
Keywords: checkin-needed
Whiteboard: fixed-in-tracemonkey
Comment 3•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•