From e099625e7d09f26146d0197d6ff466dc8cd89b39 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sun, 23 Jun 2019 14:26:18 -0700 Subject: [PATCH] Remove unused ioref --- src/ShellCheck/Formatter/Quiet.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ShellCheck/Formatter/Quiet.hs b/src/ShellCheck/Formatter/Quiet.hs index 9ad8b97..b7e0ee9 100644 --- a/src/ShellCheck/Formatter/Quiet.hs +++ b/src/ShellCheck/Formatter/Quiet.hs @@ -27,8 +27,7 @@ import Data.IORef import System.Exit format :: FormatterOptions -> IO Formatter -format options = do - topErrorRef <- newIORef [] +format options = return Formatter { header = return (), footer = return (),