diff options
author | Wuzzy <almikes@aol.com> | 2016-12-14 13:58:21 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-14 13:58:21 +0100 |
commit | 6338dc6457fda00da617f077047f19963a268515 (patch) | |
tree | 2393a05eb1c62ed605bc5cb1089f241f3d0312a5 /init.lua | |
parent | 8024ee0664304c33d2755966e41e087b0562c888 (diff) |
Remove unused code
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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 |