Clean up analyzer hints - not sure why only on command line analyzer
diff --git a/lib/src/renderer.dart b/lib/src/renderer.dart
index f59566b..0387aa0 100644
--- a/lib/src/renderer.dart
+++ b/lib/src/renderer.dart
@@ -180,7 +180,6 @@
// by the given name exists, this method returns noSuchProperty.
_getNamedProperty(object, name) {
- var property = null;
if (object is Map && object.containsKey(name))
return object[name];
diff --git a/lib/src/scanner.dart b/lib/src/scanner.dart
index ab800a6..20fc849 100644
--- a/lib/src/scanner.dart
+++ b/lib/src/scanner.dart
@@ -130,8 +130,7 @@
_read();
_tokens.add(new _Token(_LINE_END, '\r\n', start, _offset));
} else {
- var value = new String.fromCharCode(_RETURN);
- _tokens.add(new _Token(_TEXT, '\n', start, _offset));
+ _tokens.add(new _Token(_TEXT, '\r', start, _offset));
}
} else if (c == _SPACE || c == _TAB) {
@@ -206,7 +205,6 @@
_errorEofInTag() => throw _error('Tag not closed before the end of the template.');
_scanTagWhitespace() {
- const whitepsace = const [_SPACE, _NEWLINE, _RETURN, _TAB];
if (_lenient) {
_readWhile(_isWhitespace, _errorEofInTag);
} else {