Closed Bug 603312 Opened 14 years ago Closed 14 years ago

unreachable return this in TIntermConstantUnion::fold

Categories

(Core :: Graphics, defect)

defect
Not set
trivial

Tracking

()

RESOLVED INVALID

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity)

Attachments

(1 file)

988 TIntermTyped* TIntermConstantUnion::fold(TOperator op, TIntermTyped* constantNode, TInfoSink& infoSink)
989 {
993     if (constantNode) {  // binary operations
1245         return tempNode;
1246     } else {
1277         return newNode;
1278     }

this line is unreachable:
1280     return this;
1281 }
Assignee: nobody → timeless
Status: NEW → ASSIGNED
-> INVALID, upstream code as you say -- we don't want to diverge from upstream to fix stuff trivial stuff like this, especially when upstream is being actively developed.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: