Commit ac3ee1b
committed
[Transforms] Fix -Wunused-variable and remove redundant VerifyStates after llvm#75826 (NFC)
llvm-project/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:1064:18: error: unused variable 'I' [-Werror,-Wunused-variable]
Instruction *I = cast<Instruction>(Pair.first);
^
llvm-project/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:1066:11: error: unused variable 'BaseValue' [-Werror,-Wunused-variable]
auto *BaseValue = State.getBaseValue();
^
2 errors generated.1 parent ebb853f commit ac3ee1b
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
1059 | | - | |
1060 | 1059 | | |
1061 | 1060 | | |
1062 | 1061 | | |
| |||
1072 | 1071 | | |
1073 | 1072 | | |
1074 | 1073 | | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | 1074 | | |
1079 | 1075 | | |
1080 | 1076 | | |
| |||
0 commit comments