Just curious, if I have unused variables will B4X compiler automatically remove them out of the output compiled and are there any consequence like extra memeory usage? The warning is helpful for potential coding errors though.
The compiler will not remove unused variables.
1. The impact of those variables on the app size or memory usage is insignificant.
2. There are cases that the variables are actually used even if the compiler cannot detect the usage.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.