September 09, 2012

Stop Compiler Warning Message

- How can i stop warning ?
- The variable 'XYZ' is assigned but its value is never used
- but no compiler message for never used
- prevent compiler warning

Just use of these lines before and after source code
#pragma warning disable
#pragma warning restore

1 comment:

Anonymous said...

Congrats ~ Found your blog on Google while searching for a related topic, your site came up, it looks good, keep them coming !