Skip to content

Commit 88015d1

Browse files
[mlir] Fix a warning
This patch fixes: mlir/lib/Conversion/ComplexCommon/DivisionConverter.cpp:61:2: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
1 parent 8da8ff8 commit 88015d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Conversion/ComplexCommon/DivisionConverter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void mlir::complex::convertDivToStandardUsingAlgebraic(
5858
rewriter.create<arith::DivFOp>(loc, realNumerator, rhsSqNorm, fmf);
5959
*resultIm =
6060
rewriter.create<arith::DivFOp>(loc, imagNumerator, rhsSqNorm, fmf);
61-
};
61+
}
6262

6363
// Smith's algorithm to divide complex numbers. It is just a bit smarter
6464
// way to compute the following algebraic formula:

0 commit comments

Comments
 (0)