aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-10-19 17:46:28 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2016-10-19 17:46:28 +0300
commit66390224e272b0cbda12e50042209dafd1222dc0 (patch)
treeca4681a29b4dc9c645436275bc53227958e74595 /spec
parent574897fb8a878e0abf56d7f3f5ed2a6459dbfba8 (diff)
downloadluarocks-66390224e272b0cbda12e50042209dafd1222dc0.tar.gz
luarocks-66390224e272b0cbda12e50042209dafd1222dc0.tar.bz2
luarocks-66390224e272b0cbda12e50042209dafd1222dc0.zip
Remove some useless code in build.builtin
If `basename` is equal to `baseinfo` then, as `filename` is `baseinfo` plus ".lua", assignment `filename = basename..".lua"` has no effect and the if statement can be removed. Then `baseinfo` can be removed as unused.
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions