sociomantic-tsunami / ocean

General purpose, platform-dependent, high-performance library for D
Other
61 stars 56 forks source link

Remove a useless unreachable statement #848

Closed Geod24 closed 3 years ago

Geod24 commented 3 years ago
This statement wasn't useful, as elements was already null to begin with,
but also because onOutOfMemoryError doesn't generally return.
The addition of noreturn and its application to onOutOfMemoryError means
that this could trigger a warning in a future release.

https://github.com/dlang/druntime/pull/3447#issuecomment-822892222

codecov[bot] commented 3 years ago

Codecov Report

Merging #848 (d6cf409) into v6.x.x (ba566c4) will increase coverage by 0.00%. The diff coverage is n/a.