This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Set intial value for integer FieldParser function
ClosedPublic

Authored by hcindyl on Aug 1 2023, 8:55 PM.

Details

Summary

GCC complains FieldParser returns the value that does not have an obvious initial value. Set an initial return value for the FieldParser function.

The change is a no-op functionality-wise. The return value should be updated within the function.

This should fix https://github.com/llvm/llvm-project/issues/64312

Diff Detail

Event Timeline

hcindyl created this revision.Aug 1 2023, 8:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 1 2023, 8:55 PM
hcindyl requested review of this revision.Aug 1 2023, 8:55 PM
nicolasvasilache accepted this revision.Aug 2 2023, 2:45 PM
This revision is now accepted and ready to land.Aug 2 2023, 2:45 PM
This revision was automatically updated to reflect the committed changes.