Skip to content

Clean up compiler warnings in test targets - #1378

Merged
untoldengine merged 1 commit into
developfrom
issue/1373
Oct 20, 2026
Merged

untoldengine merged 1 commit into
developfrom
issue/1373

Conversation

@untoldengine

Copy link
Copy Markdown
Owner

Summary

  • Fixes Clean up compiler warnings in test targets (make testrenderer) #1373: resolves all 8 categories of compiler warnings in UntoldEngineTests and UntoldEngineRenderTests (#file/#filePath mismatches, unused/never-mutated locals, two unreachable dead-code branches, a redundant Equatable conformance, main-actor isolation on tearDown overrides, Sendable closure captures, a useless nil-coalescing, and deprecated Material init usage).
  • No production behavior changes; all changes are confined to test targets except marking FrameMetricsCollector as @unchecked Sendable (it's already lock-protected) and adding @preconcurrency import Metal in a test file.

Test plan

  • swift build --build-tests (clean, all sources + tests touched) produces zero warnings and zero errors
  • swift test --filter UntoldEngineTests — 1727 tests, 0 failures
  • make testrenderer — 1328 tests, exit code 0, no regressions

Fixes #1373. Resolves the 8 categories of compiler warnings flagged in
UntoldEngineTests and UntoldEngineRenderTests: #file/#filePath mismatches,
unused/never-mutated locals, two unreachable dead-code branches, a redundant
Equatable conformance, main-actor isolation on tearDown overrides, Sendable
closure captures, a useless nil-coalescing, and deprecated Material init
usage. Verified a clean swift build --build-tests produces zero warnings,
and both UntoldEngineTests (1727 tests) and make testrenderer (1328 tests)
pass with no regressions.
@untoldengine
untoldengine merged commit 0623298 into develop Oct 20, 2026
6 of 7 checks passed
@untoldengine
untoldengine deleted the issue/1373 branch October 20, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up compiler warnings in test targets (make testrenderer)

1 participant