jshint/jshint — pull request #1233 by iangreenleaf (2013-09-24 22:15:37+00:00)
Title: Count variable as unused if it is only assigned

```javascript
var foo = require('foo');
var bar;
bar = require('foo');
```

This will catch `foo`, but not `bar`.

```
test.js: line 1, col 8, 'foo' is defined but never used.

1 error
```

Seems like it should be possible to expand this check so that being assigned to never counts as a variable being "used". Is there any reason I'm not thinking of that this wouldn't work?