Commit f4bc315
committed
[mlir] Fix warnings
This patch fixes:
mlir/lib/Target/Wasm/TranslateFromWasm.cpp:82:1: error: unused
variable 'wasmSectionName<(anonymous
namespace)::WasmSectionType::DATACOUNT>'
[-Werror,-Wunused-const-variable]
mlir/lib/Target/Wasm/TranslateFromWasm.cpp:100:5: error: unused
variable 'valueTypesEncodings' [-Werror,-Wunused-const-variable]
mlir/lib/Target/Wasm/TranslateFromWasm.cpp:735:13: error: unused
function 'buildLiteralType<unsigned int>'
[-Werror,-Wunused-function]
mlir/lib/Target/Wasm/TranslateFromWasm.cpp:740:13: error: unused
function 'buildLiteralType<unsigned long>'
[-Werror,-Wunused-function]
mlir/lib/Target/Wasm/TranslateFromWasm.cpp:292:33: error: private
field 'symbols' is not used [-Werror,-Wunused-private-field]1 parent 17dd57b commit f4bc315
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | | - | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
735 | | - | |
| 735 | + | |
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
740 | | - | |
| 740 | + | |
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
| |||
0 commit comments