Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
markwinter committed Oct 25, 2024
1 parent 7020f9e commit 9a474c2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions itch/5.0/itch.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"io"
"os"
"slices"
"time"
)

const (
Expand Down Expand Up @@ -85,8 +84,6 @@ func ParseFile(path string, config Configuration) ([]ItchMessage, error) {
func ParseReader(reader *bufio.Reader, config Configuration) ([]ItchMessage, error) {
messages := []ItchMessage{}

start := time.Now()

for {
if config.MaxMessages > 0 && len(messages) >= config.MaxMessages {
break
Expand Down Expand Up @@ -149,8 +146,6 @@ func ParseReader(reader *bufio.Reader, config Configuration) ([]ItchMessage, err
func ParseMany(data []byte, config Configuration) ([]ItchMessage, error) {
messages := []ItchMessage{}

start := time.Now()

dp := 0

for {
Expand Down

0 comments on commit 9a474c2

Please sign in to comment.