Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zeux committed Nov 12, 2021
1 parent 863d3ff commit 3c3541a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Analysis/src/TypeInfer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5030,6 +5030,7 @@ void TypeChecker::resolve(const IsAPredicate& isaP, ErrorVec& errVec, Refinement
return isaP.ty;
}

// local variable works around an odd gcc 9.3 warning: <anonymous> may be used uninitialized
std::optional<TypeId> res = std::nullopt;
return res;
};
Expand Down

0 comments on commit 3c3541a

Please sign in to comment.