one more try

This commit is contained in:
Vighnesh 2024-10-11 16:30:15 -07:00
parent b1fae55636
commit 0276d18314

View file

@ -947,16 +947,7 @@ std::vector<std::pair<TypeId, TypeId>>::const_reverse_iterator DifferEnvironment
DifferResult diff(TypeId ty1, TypeId ty2) DifferResult diff(TypeId ty1, TypeId ty2)
{ {
#if defined(__GNUC__) && defined(__linux__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
DifferEnvironment differEnv{ty1, ty2, std::nullopt, std::nullopt}; DifferEnvironment differEnv{ty1, ty2, std::nullopt, std::nullopt};
#if defined(__GNUC__) && defined(__linux__)
#pragma GCC diagnostic pop
#endif
return diffUsingEnv(differEnv, ty1, ty2); return diffUsingEnv(differEnv, ty1, ty2);
} }