Skip to content

Commit 274238d

Browse files
committed
Removing extraneous semi-colon, gcc 9.3.0 is complaining about
1 parent e953b63 commit 274238d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Lower/ConvertVariable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static fir::GlobalOp declareGlobal(Fortran::lower::AbstractConverter &converter,
121121
mlir::emitError(loc, "lowering global declaration: symbol '")
122122
<< toStringRef(sym.name()) << "' has unexpected details\n";
123123
return builder.createGlobal(loc, converter.genType(var), globalName, linkage);
124-
};
124+
}
125125

126126
/// Create the global op and its init if it has one
127127
static fir::GlobalOp defineGlobal(Fortran::lower::AbstractConverter &converter,

0 commit comments

Comments
 (0)