[flang] D123388 fix - remove unused variable from test

This commit is contained in:
Jean Perier 2022-04-11 02:56:44 -07:00
parent 02cccdcab2
commit ce6ca8e71e

View file

@ -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);