Disabling rexlang compile warnings
sadilekivan last edited by
In one of my codes I'm getting a warning on not using a variable even though I kinda do, what #pragma should I use to disable getting this warning
Warning compiling file '../.rexlang/database.c' (line 29): variable 'dateInterval' is assigned but not used
#pragma warning(disable: 4189)but thats no good.
Thanks in advance!
jaroslav_sobota last edited by
I do not have any better advice than to add this line to your code, which will make the compiler believe that the variable dateInterval is used.
dateInterval = dateInterval;
Can you share or send your code leading to such a false warning? Thank you.