Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337518 - compile warning in official build
Summary: compile warning in official build
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Pawel Piech CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-18 01:40 EST by Dani Megert CLA
Modified: 2011-02-22 03:48 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2011-02-18 01:40:08 EST
N20110217-2000.

1. WARNING in /src/org/eclipe/debug/tests/viewer/model/StateTests.java
 (at line 983)
ModelDelta delta = new ModelDelta(model.getRootElement(), IModelDelta.NO_CHANGE);
The value of the local variable delta is not used

Either the following code is not yet complete (reading the comment) or it can be deleted:

        // Update the viewer to collapse both elements and select a third
        ModelDelta delta = new ModelDelta(model.getRootElement(), IModelDelta.NO_CHANGE);
Comment 1 Pawel Piech CLA 2011-02-18 13:49:43 EST
It was a refactoring left-over.  Thanks Dani.
Comment 2 Dani Megert CLA 2011-02-22 03:48:35 EST
Verified in N20110221-2000.