diff options
| author | Peter Melnichenko <mpeterval@gmail.com> | 2016-10-19 17:46:28 +0300 |
|---|---|---|
| committer | Peter Melnichenko <mpeterval@gmail.com> | 2016-10-19 17:46:28 +0300 |
| commit | 66390224e272b0cbda12e50042209dafd1222dc0 (patch) | |
| tree | ca4681a29b4dc9c645436275bc53227958e74595 /test | |
| parent | 574897fb8a878e0abf56d7f3f5ed2a6459dbfba8 (diff) | |
| download | luarocks-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 'test')
0 files changed, 0 insertions, 0 deletions
