Skip to content

Commit 0237477

Browse files
committed
[MLIR] Attempt to fix sanitizer issue (access of uninitialized member)
Follow-up to #156825 ; a member wasn't always initialized, it's not clear to me why this is needed though, so this fix may not be the right one, we'll monitor the bots.
1 parent f5d3cf4 commit 0237477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class MlirOptMainConfig {
264264
bool allowUnregisteredDialectsFlag = false;
265265

266266
/// Remark format
267-
RemarkFormat remarkFormatFlag;
267+
RemarkFormat remarkFormatFlag = REMARK_FORMAT_STDOUT;
268268
/// Remark file to output to
269269
std::string remarksOutputFileFlag = "";
270270
/// Remark filters

0 commit comments

Comments
 (0)