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 246581 - Variable wrongly marked as unused
Summary: Variable wrongly marked as unused
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-20 13:32 UTC by Ondrej Brejla
Modified: 2014-11-08 10:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Brejla 2014-08-20 13:32:39 UTC
"row" is marked as unused.

var foo = function (layout) {    
    var row = layout[0];
    for (var i = 0; i < 10; i++) {
        row[i] = '';
    }
};
Comment 1 Petr Pisl 2014-11-07 13:33:52 UTC
Fixed in web-main. Thanks.
Comment 2 Quality Engineering 2014-11-08 10:58:43 UTC
Integrated into 'main-silver', will be available in build *201411080653* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4bdd8b0b53fc
User: Petr Pisl <ppisl@netbeans.org>
Log: #246581 - Variable wrongly marked as unused