summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-14 13:58:21 +0100
committerWuzzy <almikes@aol.com>2016-12-14 13:58:21 +0100
commit6338dc6457fda00da617f077047f19963a268515 (patch)
tree2393a05eb1c62ed605bc5cb1089f241f3d0312a5 /init.lua
parent8024ee0664304c33d2755966e41e087b0562c888 (diff)
Remove unused code
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 0 insertions, 8 deletions
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