This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 238067 - Value unused triggered if only used as lval index
Summary: Value unused triggered if only used as lval index
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 241195 (view as bug list)
Depends on:
Blocks: 249320
  Show dependency tree
 
Reported: 2013-11-06 21:04 UTC by Chiana
Modified: 2015-11-13 10:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (54.29 KB, image/jpeg)
2013-11-06 21:04 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2013-11-06 21:04:15 UTC
Created attachment 141919 [details]
Screenshot

The hint "Assigned value never used" is triggered if the assigned value is used only as an index in an lval, see screenshot.
Not sure if this is an regression but I've seen it in the latest builds.
Comment 1 Jiri Prox 2014-02-05 08:01:57 UTC
*** Bug 241195 has been marked as a duplicate of this bug. ***
Comment 2 Svata Dedic 2015-09-10 14:33:00 UTC
Linking to an umbrella issue
Comment 3 Svata Dedic 2015-11-13 10:50:43 UTC
Fixed in new impl, wait for the umbrella issue to close.