06-26-2006 02:11 AM
06-26-2006 04:24 AM
Is it not provided simply to ensure that an external compiler will think that the unused variable is actually used and thus not generate an "unused variable" warning? The macro is harmless and simply generates a dummy variable reference that will not be optimised out.
JR
06-26-2006 07:24 AM
Thanks JR: I was suspecting it were something like you said. I got in touch with UNUSED macro digging into the programmaer's toolbox as suggested by MJF post on Progress bar: I noticed that this macro is used in ProgressCancelCallback function but it seems not to have other relevant use.
Anyway, since I am only compiling within CVI I assume I can continue ignoring its presence as usual