Skip to content

Remove unreachable break statements in database test - #4990

Merged
ahojnnes merged 1 commit into
mainfrom
remove-unreachable-break-database-test
Nov 8, 2026
Merged

ahojnnes merged 1 commit into
mainfrom
remove-unreachable-break-database-test

Conversation

@ahojnnes

@ahojnnes ahojnnes commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

GTEST_FAIL() is a fatal failure, so the break statements after it in the default branches of the Merge test switches are unreachable. Remove both of them.

GTEST_FAIL() is a fatal failure, so the break statements after it in the default branches of the Merge test switches are unreachable. Remove both of them.
@ahojnnes
ahojnnes enabled auto-merge (squash) November 8, 2026 14:09
@ahojnnes ahojnnes added the full-ci Run Windows and remaining pycolmap CI label Nov 8, 2026
@ahojnnes
ahojnnes merged commit f0ddf77 into main Nov 8, 2026
21 checks passed
@ahojnnes
ahojnnes deleted the remove-unreachable-break-database-test branch November 8, 2026 15:34
fringehush-gif added a commit to fringehush-gif/colmap that referenced this pull request Nov 8, 2026
…nance)

Bring the fork through official COLMAP f0ddf77. Existing implementation families
and their qualification remain bound to their recorded source pins.

## Change

- Select PLY output in the PyCOLMAP dense reconstruction tutorial.
- Remove two unreachable breaks after fatal GTest failures in database tests.

## Upstream commits

- 97b5d74 — Select PLY output in the PyCOLMAP dense reconstruction tutorial (colmap#4975)
- f0ddf77 — Remove unreachable break statements in database test (colmap#4990)

## Validation

- The two-parent merge is conflict-free and changes only the two upstream files.
  The index and four unrelated working-tree edits remain untouched.
- No production C++ changes. No rebuild or native tests were run for this merge.

AI disclosure: Totally vibe coded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci Run Windows and remaining pycolmap CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants