NVCC message - warning: expression has no effect Has anyone received a suspicious instance of this m

I have been getting this message while compiling my code, and am rather confident that the referenced lines are indeed being executed, and results are as I expect them to be. I wonder if anyone else has been getting a ‘suspicious’ or flat-out ‘erroneous’ instance of this message from nvcc. Or is the likelihood of compiler message being a bug so small that I definitely need to re-examine my code for oversights? Thank you!

I’d rather re-check the code. I have seen the message a couple of times and it has prevented a few bugs.