From be9a3e693e019ab4797ea093bedde3ca39398e6e Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Thu, 6 Jul 2023 06:38:25 +0200 Subject: lxdrgen-swift: fix warnings with exhaustive unions --- tools/lxdrgen-c.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/lxdrgen-c.awk') diff --git a/tools/lxdrgen-c.awk b/tools/lxdrgen-c.awk index 0d43785..e898aae 100644 --- a/tools/lxdrgen-c.awk +++ b/tools/lxdrgen-c.awk @@ -259,7 +259,7 @@ function codegen_union_struct( \ "\t\tbreak;\n") } -function codegen_union(name, cg, f, ctype, funcname) { +function codegen_union(name, cg, exhaustive, f, ctype, funcname) { ctype = "union " PrefixLower cameltosnake(name) print "" print ctype " {" -- cgit v1.2.3-54-g00ecf