aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-12-20 10:59:27 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-27 22:29:01 +0100
commit13f73ca3721df1b0775f41fa2f4ce8e9963cd4d9 (patch)
treefb6385bdb09d2d4af367624b4c19c7b3862a3dae /tcg
parentc32c487a03b94d373ce84691dc5615dfa695f7a5 (diff)
downloadqemu-13f73ca3721df1b0775f41fa2f4ce8e9963cd4d9.zip
qemu-13f73ca3721df1b0775f41fa2f4ce8e9963cd4d9.tar.gz
qemu-13f73ca3721df1b0775f41fa2f4ce8e9963cd4d9.tar.bz2
tcg: Silent -Wmissing-field-initializers warning
Silent when compiling with -Wextra: tcg/i386/tcg-target.opc.h:34:1: warning: missing field 'args_ct' initializer [-Wmissing-field-initializers] DEF(x86_punpckl_vec, 1, 2, 0, IMPLVEC) ^ ../tcg/tcg-common.c:30:66: note: expanded from macro 'DEF' { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags }, ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20221220143532.24958-2-philmd@linaro.org>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tcg-common.c b/tcg/tcg-common.c
index aa0c4f6..35e7616 100644
--- a/tcg/tcg-common.c
+++ b/tcg/tcg-common.c
@@ -27,7 +27,7 @@
TCGOpDef tcg_op_defs[] = {
#define DEF(s, oargs, iargs, cargs, flags) \
- { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags },
+ { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags, NULL },
#include "tcg/tcg-opc.h"
#undef DEF
};