From 77bcfcb8b9c3c6e388c777599bfaaba98eca12ec Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Sat, 29 Aug 2020 16:29:56 +0800 Subject: [PATCH] Fix build failure under GCC 10.2 (fixes #3628) --- src/libponyc/expr/reference.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libponyc/expr/reference.c b/src/libponyc/expr/reference.c index cabfb5c143..eaf4f2e972 100644 --- a/src/libponyc/expr/reference.c +++ b/src/libponyc/expr/reference.c @@ -220,6 +220,7 @@ static bool expr_contained_in_recover(ast_t* ast, ast_t* expected_recover) case TK_REFERENCE: pony_assert(0); + return false; case TK_THIS: return false;