diff --git a/processor/file.go b/processor/file.go index fa586b841..18c198c6d 100644 --- a/processor/file.go +++ b/processor/file.go @@ -273,7 +273,6 @@ func newFileJob(path, name string, fileInfo os.FileInfo) *FileJob { Extension: extension, PossibleLanguages: language, Bytes: fileInfo.Size(), - EndPoint: int(fileInfo.Size() - 1), } } else if Verbose { printWarn(fmt.Sprintf("skipping file unknown extension: %s", name)) diff --git a/processor/states.go b/processor/states.go deleted file mode 100644 index 64a40d680..000000000 --- a/processor/states.go +++ /dev/null @@ -1,6 +0,0 @@ -package processor - -type State interface { - Process(*FileJob, *LanguageFeature, int, LineType) (int, LineType, State) - Reset() (LineType, State) -}