Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2 from cofyc/remove_UnreadRune
Browse files Browse the repository at this point in the history
Remove unnecessary UnreadRune call.
  • Loading branch information
steventhurgood authored Nov 6, 2018
2 parents 6f45313 + cd58629 commit c34317b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion shlex.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ func (t *Tokenizer) scanStream() (*Token, error) {
}
case spaceRuneClass:
{
t.input.UnreadRune()
token := &Token{
tokenType: tokenType,
value: string(value)}
Expand Down

0 comments on commit c34317b

Please sign in to comment.