Files
termux-packages/packages/wiz/unused-variable.patch
termux-pacman-bot bff3119ed6 bump(main/wiz): 2025.04.10
- Progress on https://github.com/termux/termux-packages/issues/23492

- Progress on https://github.com/termux/termux-packages/issues/11744

- Fix build with NDK r29 using `deprecated-literal-operator.patch` and `unused-variable.patch`

- Convert all source code to LF before building for easier maintenance of patches using UNIX-like development systems
2026-01-03 08:06:43 +00:00

14 lines
668 B
Diff

Prevents:
error: variable 'letParameter' set but not used
--- a/src/wiz/compiler/compiler.cpp
+++ b/src/wiz/compiler/compiler.cpp
@@ -5311,6 +5311,7 @@ namespace wiz {
auto& argument = arguments[i];
if (auto letParameter = parameter->tryGet<Definition::Let>()) {
+ (void)letParameter;
if (argument->info->context == EvaluationContext::RunTime) {
report->error("argument `" + parameter->name.toString() + "` is a `let` expression, so it cannot accept a run-time expression", argument->location);
}