diff --git a/src/compiler/scanner.ts b/src/compiler/scanner.ts index e7313481bc0..2de92ed02cc 100644 --- a/src/compiler/scanner.ts +++ b/src/compiler/scanner.ts @@ -384,7 +384,6 @@ module ts { var nextChar = text.charCodeAt(pos + 1); if (nextChar === CharacterCodes.slash || nextChar === CharacterCodes.asterisk) { var startPos = pos; - var comment: string = undefined; pos += 2; if (nextChar === CharacterCodes.slash) { while (pos < text.length) {