Date: Sun, 21 Jun 2009 07:54:47 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sysv_msg.c Message-ID: <200906210754.n5L7suUW055199@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rdivacky 2009-06-21 07:54:47 UTC FreeBSD src repository Modified files: sys/kern sysv_msg.c Log: SVN rev 194575 on 2009-06-21 07:54:47Z by rdivacky In non-debugging mode make this define (void)0 instead of nothing. This helps to catch bugs like the below with clang. if (cond); <--- note the trailing ; something(); Approved by: ed (mentor) Discussed on: current@ Revision Changes Path 1.74 +1 -1 src/sys/kern/sysv_msg.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906210754.n5L7suUW055199>