Variable not used error
- Posted by ChrisB (moderator) Aug 20, 2009
- 875 views
Hi
Just got back from Mallorca, only to find a beta release. Yay!
Testing it on old apps, and currently functioning ones, all seems fine except :
I use the old machine.e. within that is
-- variables and routines used in safe.e without warning integer check_calls check_calls = 1
Running with programs that use this (both on Windows and Linux) produces
Warning ( not_used ): <0229>:: /home/crylex/euphoria/include/machine.e - local variable 'check_calls' is not used
Adding and changing various without warnings makes no difference, but adding
-- variables and routines used in safe.e without warning integer check_calls check_calls = 1 check_calls += 1 check_calls = 1
resolves the issue.
Is this an over optimising issue?
Chris
PS - i just posted this without a subject heading, and got an internal server error.