forked from OSchip/llvm-project
[flang] D123388 fix - remove unused variable from test
This commit is contained in:
parent
02cccdcab2
commit
ce6ca8e71e
|
@ -42,7 +42,6 @@ TEST_F(RuntimeCallTest, genArgumentLen) {
|
|||
|
||||
TEST_F(RuntimeCallTest, genEnvVariableValue) {
|
||||
mlir::Location loc = firBuilder->getUnknownLoc();
|
||||
mlir::Type intTy = firBuilder->getDefaultIntegerType();
|
||||
mlir::Type charTy = fir::BoxType::get(firBuilder->getNoneType());
|
||||
mlir::Value name = firBuilder->create<fir::UndefOp>(loc, charTy);
|
||||
mlir::Value value = firBuilder->create<fir::UndefOp>(loc, charTy);
|
||||
|
@ -56,7 +55,6 @@ TEST_F(RuntimeCallTest, genEnvVariableValue) {
|
|||
|
||||
TEST_F(RuntimeCallTest, genEnvVariableLength) {
|
||||
mlir::Location loc = firBuilder->getUnknownLoc();
|
||||
mlir::Type intTy = firBuilder->getDefaultIntegerType();
|
||||
mlir::Type charTy = fir::BoxType::get(firBuilder->getNoneType());
|
||||
mlir::Value name = firBuilder->create<fir::UndefOp>(loc, charTy);
|
||||
mlir::Value trimName = firBuilder->create<fir::UndefOp>(loc, i1Ty);
|
||||
|
|
Loading…
Reference in New Issue