From 6338dc6457fda00da617f077047f19963a268515 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 14 Dec 2016 13:58:21 +0100 Subject: Remove unused code --- init.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index ff7c76e..b7866a9 100644 --- a/init.lua +++ b/init.lua @@ -181,14 +181,6 @@ local toolcaps_to_text = function(tool_capabilities, check_uses) if maxrating < rating then maxrating = rating end end end - local ratingstring = "Unknown rating" - if minrating ~= nil and maxrating ~= nil then - if minrating == maxrating then - ratingstring = S("Rating @1", minrating) - else - ratingstring = S("Rating @1-@2", minrating, maxrating) - end - end local maxlevel = v.maxlevel if not maxlevel then -- Default from tool.h -- cgit v1.2.3