diff options
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 1bf0ca06ec..03e5ad1899 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -4545,9 +4545,6 @@ static TypeTableEntry *analyze_return_expr(CodeGen *g, ImportTableEntry *import, normalize_parent_ptrs(node); } - // TODO follow the blocks to their parents, loop over all of them, set them all to true - context->block_exit_paths[BlockExitPathReturn] = true; - TypeTableEntry *expected_return_type = get_return_type(context); switch (node->data.return_expr.kind) { |
