Unused variable or unused parameters in procedure of function call (WMB)
Unused variables in ESQL can affect performance. ESQL doesn’t have a “pre-compiler” like Java (for example has). So variables in the code will be allocated and consume resources (CPU to create them and memory tol hold them).
Unused variables also make the code harder to read and more cognitively challenging to understand.