HomePhabricator

[NFC] Fix -Wsometimes-uninitialized

Authored by rupprecht on Wed, Jan 13, 8:30 PM.

Description

[NFC] Fix -Wsometimes-uninitialized

After 49142991a685bd427d7e877c29c77371dfb7634c, clang detects that MUL may be uninitialized. Set it to nullptr to suppress this check.

Adding an assert to check that it is ultimately set fails two test cases. Since this is not a new issue, leave the assertion commented out until a code owner can fix the bug. The two failing test cases are noted in the assertion comment.

Details

Committed
rupprechtWed, Jan 13, 8:32 PM
Parents
rG3043e5a5c33c: ADT: Fix reference invalidation in N-element SmallVector::append and insert
Branches
Unknown
Tags
Unknown