mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-07-03 16:40:38 +02:00
The removal of unused variables can improve the detection of mistakes with luacheck; for example, it can detect if the wrong argument is passed to a function because of a copy-paste mistake. Setting `src_data` and `dst_data` to `nil` in `worldedit.stack2`, which might enable an earlier garbage collection, looks like an unneeded micro-optimisation.