Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
stormvirux committed Jun 22, 2022
1 parent 10f3579 commit 420114c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/doi/procpdf.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func processPdf(fileName string, verbose bool) (extractedTitle string, extracted
if err != nil && extractedTitle == "" {
var msg = []string{"%v\n[Info] ghostScript installation detected.\n[Info] Attempting to correct the pdf with ghostscript", "%w", "pdf opening failed: %w"}
var isRecover bool
isRecover, f, r, pdF, err = errorRecovery(verbose, pdF, err, msg)
isRecover, _, r, pdF, err = errorRecovery(verbose, pdF, err, msg)
/*defer func(f *os.File) {
_ = f.Close()
}(f)*/
Expand Down

0 comments on commit 420114c

Please sign in to comment.