diff options
author | Ian Lance Taylor <iant@golang.org> | 2022-12-21 12:00:13 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2022-12-22 14:26:14 -0800 |
commit | 907c84cb1d4f0f6b3c4df6af2afb173797e58262 (patch) | |
tree | b65e12ef95d73cb5ca444b8a76c9197063bc620b /gcc/go/gofrontend/MERGE | |
parent | 794af0d00b7086c9f0493f3a1aaac644e1fd50f6 (diff) | |
download | gcc-907c84cb1d4f0f6b3c4df6af2afb173797e58262.zip gcc-907c84cb1d4f0f6b3c4df6af2afb173797e58262.tar.gz gcc-907c84cb1d4f0f6b3c4df6af2afb173797e58262.tar.bz2 |
compiler: remove unused fields
This avoids 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]
Path by Martin Liška.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/458975
Diffstat (limited to 'gcc/go/gofrontend/MERGE')
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index d123c74..4a1a4c8 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -ecc2a2e70e44fa76a75b12d0893bc1702b72a1b4 +8c786f716c58d7973623c2b9293e2ad360877817 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. |