From ec4c4be305a7971cd0b702415abff27f213daad6 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Sun, 11 Mar 2018 11:55:25 -0400 Subject: [PATCH] reamove deadcode Signed-off-by: Jess Frazelle --- main.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/main.go b/main.go index df82c09..0605cf9 100644 --- a/main.go +++ b/main.go @@ -120,16 +120,6 @@ func main() { w.Flush() } -func usageAndExit(message string, exitCode int) { - if message != "" { - fmt.Fprintf(os.Stderr, message) - fmt.Fprintf(os.Stderr, "\n\n") - } - flag.Usage() - fmt.Fprintf(os.Stderr, "\n") - os.Exit(exitCode) -} - func getFilesInfo(d *goquery.Document) []fileInfo { files := []fileInfo{} d.Find(".pure-table tr:not(:first-child)").Each(func(j int, l *goquery.Selection) {