Skip to content

Commit

Permalink
fix unused variable error
Browse files Browse the repository at this point in the history
  • Loading branch information
tyru committed Aug 6, 2019
1 parent 2586eb4 commit 0844cfa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion autoload/vimlparser.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,6 @@ function! s:VimLParser.parse_cmd_let() abort
endfunction

function! s:VimLParser.parse_cmd_const() abort
let pos = self.reader.tell()
call self.reader.skip_white()

" :const
Expand Down
1 change: 0 additions & 1 deletion js/vimlparser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,6 @@ VimLParser.prototype.parse_cmd_let = function() {
}

VimLParser.prototype.parse_cmd_const = function() {
var pos = this.reader.tell();
this.reader.skip_white();
// :const
if (this.ends_excmds(this.reader.peek())) {
Expand Down
1 change: 0 additions & 1 deletion py/vimlparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,6 @@ def parse_cmd_let(self):
self.add_node(node)

def parse_cmd_const(self):
pos = self.reader.tell()
self.reader.skip_white()
# :const
if self.ends_excmds(self.reader.peek()):
Expand Down

0 comments on commit 0844cfa

Please sign in to comment.