Skip to content

Commit

Permalink
remove unreachable code path
Browse files Browse the repository at this point in the history
  • Loading branch information
jftuga committed Jan 19, 2022
1 parent 50a4671 commit 023b203
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chars.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ chars.go
-John Taylor
Jan-16-2022
Determine the end-of-line format, tabs, bom, and nul
Pass wildcard filename globs on the command line
Determine the end-of-line format, tabs, bom, and nul characters
https://github.com/jftuga/chars
*/

package chars
Expand Down Expand Up @@ -142,7 +142,6 @@ func searchForSpecialChars(filename string, buf *bufio.Reader, examineBinary boo
}
prev = b
}
return SpecialChars{Filename: filename, Crlf: crlf, Lf: lf, Tab: tab, Bom8: bom8, Bom16: bom16, Nul: nul, BytesRead: bytesRead}, charsError{code: 0, err: ""}
}

// OutputTextTable - display a text table with each filename and the number of special characters
Expand Down

0 comments on commit 023b203

Please sign in to comment.