aboutsummaryrefslogtreecommitdiffhomepage
path: root/Brick
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-03-02 07:11:57 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-03-02 07:12:16 -0700
commit73c585d02d2ec7fc1bd6894192bad8f2b1138163 (patch)
tree8aa11c7c1e743eb9c6462f33caa1cb72a1e2ef61 /Brick
parent5b9576b50078ce8f67e911f60978d601ecc414cd (diff)
downloadsscan-73c585d02d2ec7fc1bd6894192bad8f2b1138163.tar.gz
fix duplicate & unused vars
Diffstat (limited to 'Brick')
-rw-r--r--Brick/Widgets/DefnList.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Brick/Widgets/DefnList.hs b/Brick/Widgets/DefnList.hs
index 1465964..016a522 100644
--- a/Brick/Widgets/DefnList.hs
+++ b/Brick/Widgets/DefnList.hs
@@ -55,7 +55,7 @@ defnList align attr defns = vBox $ line <$> defns
maxWidth = maximum $
map (\(x,y) -> length sep + length x + length y) defns
- maxLabelWidth = maximum $ map (\(x,y) -> length x) defns
+ maxLabelWidth = maximum $ map (\(x,_) -> length x) defns
sep = if align == AlignRight then ": " else ": "
labelAttr = maybe V.defAttr id attr