summaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-29 15:25:29 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-29 15:25:29 +0000
commita50f5b9186c1bf76899365ab61b11d8ef487f4a8 (patch)
treecebf932a986dabdb22b8617b28de99a543857af5 /tcg
parentd26968ecd8c93334f2793749c5c33c00d1c12d63 (diff)
downloadqemu-a50f5b9186c1bf76899365ab61b11d8ef487f4a8.tar.gz
Suppress bogus compiler warnings.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4803 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 9299176abb..2ce36b8786 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -143,6 +143,9 @@ typedef int TCGv;
#endif /* DEBUG_TCGV */
+/* Dummy definition to avoid compiler warnings. */
+#define TCGV_UNUSED(x) x = MAKE_TCGV(-1)
+
/* call flags */
#define TCG_CALL_TYPE_MASK 0x000f
#define TCG_CALL_TYPE_STD 0x0000 /* standard C call */