Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329808 - Compiler warnings in N20101108-2000 build
Summary: Compiler warnings in N20101108-2000 build
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7 M4   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-09 10:19 EST by Olivier Thomann CLA
Modified: 2010-11-09 10:41 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2010-11-09 10:19:04 EST
1. WARNING in /src/org/eclipse/pde/internal/core/util/CoreUtility.java
 (at line 211)
long currentLen = 0;
The value of the local variable currentLen is not used

1. WARNING in /src/org/eclipse/pde/ui/tests/target/TargetDefinitionResolutionTests.java
 (at line 402)
int bin = 0;
The value of the local variable bin is not used
2. WARNING in /src/org/eclipse/pde/ui/tests/target/TargetDefinitionResolutionTests.java
 (at line 453)
int bin = 0;
The value of the local variable bin is not used


1. WARNING in /src/org/eclipse/pde/internal/ui/editor/contentassist/ManifestContentAssistProcessor.java
 (at line 186)
int length = fHeader.length;
The value of the local variable length is not used
Comment 1 Curtis Windatt CLA 2010-11-09 10:41:03 EST
Fixed in HEAD.  Most of the problems I just had to remove the unused variable, but in the test case I added an assert.