From b6182bdce9a71a09ec9afcf9cfae6b6fe3060e96 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 21 Sep 2021 13:05:16 +1000 Subject: [PATCH] Remove unused function --- cmd/torrent/main.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/torrent/main.go b/cmd/torrent/main.go index f27a8538..e1fa04b4 100644 --- a/cmd/torrent/main.go +++ b/cmd/torrent/main.go @@ -195,12 +195,6 @@ type DownloadCmd struct { Torrent []string `arity:"+" help:"torrent file path or magnet uri" arg:"positional"` } -func stdoutAndStderrAreSameFile() bool { - fi1, _ := os.Stdout.Stat() - fi2, _ := os.Stderr.Stat() - return os.SameFile(fi1, fi2) -} - func statsEnabled(flags downloadFlags) bool { if flags.Stats == nil { return flags.Debug -- 2.44.0