[Mlir-commits] [mlir] 8e84972 - NFC: Remove unused variable.

Stella Laurenzo llvmlistbot at llvm.org
Wed Sep 23 08:00:50 PDT 2020


Author: Stella Laurenzo
Date: 2020-09-23T08:00:31-07:00
New Revision: 8e84972ab7060ace889bb383e76dc2c835a47c06

URL: https://github.com/llvm/llvm-project/commit/8e84972ab7060ace889bb383e76dc2c835a47c06
DIFF: https://github.com/llvm/llvm-project/commit/8e84972ab7060ace889bb383e76dc2c835a47c06.diff

LOG: NFC: Remove unused variable.

Added: 
    

Modified: 
    mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp b/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
index 3e0b6f47565d..7ca4d7fe1616 100644
--- a/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
+++ b/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
@@ -119,7 +119,6 @@ static OptionalParseResult parseOptionalOperandAndType(OpAsmParser &parser,
                                                        StringRef keyword,
                                                        OperationState &result) {
   OpAsmParser::OperandType operand;
-  Type type;
   if (succeeded(parser.parseOptionalKeyword(keyword))) {
     return failure(parser.parseLParen() ||
                    parseOperandAndType(parser, result) || parser.parseRParen());


        


More information about the Mlir-commits mailing list