summaryrefslogtreecommitdiffstats
path: root/sys/mips/rmi/msgring.h
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2010-09-10 07:06:06 +0000
committerjchandra <jchandra@FreeBSD.org>2010-09-10 07:06:06 +0000
commita226dc41a930ffcd71d510f34e479c9c896605b2 (patch)
tree531aa988476fc6e64f1e8d1543f9752c94a34fd9 /sys/mips/rmi/msgring.h
parent98a6f5e061f507abceb83d939bc4125ded5e52f1 (diff)
downloadFreeBSD-src-a226dc41a930ffcd71d510f34e479c9c896605b2.zip
FreeBSD-src-a226dc41a930ffcd71d510f34e479c9c896605b2.tar.gz
Compilation fix - when INVARIANTS are turned off.
Diffstat (limited to 'sys/mips/rmi/msgring.h')
-rw-r--r--sys/mips/rmi/msgring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/rmi/msgring.h b/sys/mips/rmi/msgring.h
index d524892..6e61b50 100644
--- a/sys/mips/rmi/msgring.h
+++ b/sys/mips/rmi/msgring.h
@@ -306,7 +306,9 @@ message_send(unsigned int size, unsigned int code,
{
unsigned int dest = 0;
unsigned long long status = 0;
+#ifdef INVARIANTS
int i = 0;
+#endif
msgrng_load_tx_msg0(msg->msg0);
msgrng_load_tx_msg1(msg->msg1);
OpenPOWER on IntegriCloud