On Wed, 11 Feb 2015 00:54:57 +0000 Yong Wang <yongwang at vmware.com> wrote:
> Why not > #define VMXNET_ASSERT(x) do { (void)(0); } while (0) > > or simply > #define VMXNET_ASSERT(x) Because that will generate unused warnings in Gcc, and by having the compiler evaluate the result it also makes sure that junk doesn't get put in.