File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -798,7 +798,6 @@ module TypeScript.Services.Breakpoints {
798798 var container = Syntax . containingNode ( varDeclarationNode ) ;
799799 var varDeclarationSyntax = < TypeScript . VariableDeclarationSyntax > varDeclarationNode ;
800800 var varDeclarators = varDeclarationSyntax . variableDeclarators ;
801- var varDeclaratorsCount = childCount ( varDeclarators ) ; // varDeclarators has to be non null because its checked in canHaveBreakpoint
802801
803802 if ( container && container . kind ( ) == TypeScript . SyntaxKind . VariableStatement ) {
804803 return this . breakpointSpanOfVariableStatement ( container ) ;
Original file line number Diff line number Diff line change @@ -211,8 +211,6 @@ module TypeScript.Services {
211211 signatureGroupInfo . signatureInfo = TypeScript . MemberName . memberNameToString ( symbolName , paramIndexInfo ) ;
212212 signatureGroupInfo . docComment = symbol . docComments ( ) ;
213213
214- var parameterMarkerIndex = 0 ;
215-
216214 var typeSymbol = symbol . type ;
217215
218216 var typeParameters = typeSymbol . getTypeParameters ( ) ;
Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ module TypeScript {
8484 private cacheSyntaxTreeInfo ( ) : void {
8585 // If we're not keeping around the syntax tree, store the diagnostics and line
8686 // map so they don't have to be recomputed.
87- var sourceUnit = this . sourceUnit ( ) ;
8887 var firstToken = firstSyntaxTreeToken ( this ) ;
8988 var leadingTrivia = firstToken . leadingTrivia ( this . text ) ;
9089
Original file line number Diff line number Diff line change @@ -150,7 +150,6 @@ module TypeScript.Syntax {
150150
151151 // When we run into a newline for the first time, create the string builder and copy
152152 // all the values up to this newline into it.
153- var isCarriageReturnLineFeed = false ;
154153 switch ( ch ) {
155154 case CharacterCodes . carriageReturn :
156155 if ( i < triviaText . length - 1 && triviaText . charCodeAt ( i + 1 ) === CharacterCodes . lineFeed ) {
You can’t perform that action at this time.
0 commit comments