mirror of https://github.com/cutefishos/calamares
[partition] Reduce warnings (Clang, FreeBSD)
The code doesn't match the comment: there are no by-ref captures in the code, and the shadowing of parameters and local variables is confusing. Remove one variable that is passed in as an argument (and just pass the value as argument) and copy-capture the other rather than doing weird argument passing.main
parent
0a44ce381e
commit
4d444cbfbb
Loading…
Reference in New Issue