[PATCH] go: fix clang warnings

Ian Lance Taylor iant@golang.org
Thu Dec 22 22:26:24 GMT 2022


On Wed, Dec 21, 2022 at 12:05 AM Martin Liška <mliska@suse.cz> wrote:
>
> The patch fixes the following Clang warnings:
>
> gcc/go/gofrontend/escape.cc:1290:17: warning: private field 'fn_' is not used [-Wunused-private-field]
> gcc/go/gofrontend/escape.cc:3478:19: warning: private field 'context_' is not used [-Wunused-private-field]
> gcc/go/gofrontend/lex.h:564:15: warning: private field 'input_file_name_' is not used [-Wunused-private-field]
> gcc/go/gofrontend/types.cc:5788:20: warning: private field 'call_' is not used [-Wunused-private-field]
> gcc/go/gofrontend/wb.cc:206:9: warning: private field 'gogo_' is not used [-Wunused-private-field]
>
> Ready for master?

Thanks.  Committed to mainline.

Ian


More information about the Gcc-patches mailing list