title: How to generate compiler warning "statement has no effect" in c/c++ code
body: <p>For my compiler tests, I need to generate this warning "Statement has no effect" in my test code. How can I do this?</p>
  
  <p>Using VS cl.exe compiler </p>