Browse Source

Text: this return is never reached.

The CORRADE_ASSERT_UNREACHABLE() macro already takes care of that. This
was the only uncovered line reported in this file.
pull/482/merge
Vladimír Vondruš 3 weeks ago
parent
commit
8a3ac6fb9b
  1. 1
      src/Magnum/Text/AbstractFont.cpp

1
src/Magnum/Text/AbstractFont.cpp

@ -389,7 +389,6 @@ bool AbstractFont::fillGlyphCache(AbstractGlyphCache& cache, const std::initiali
bool AbstractFont::doFillGlyphCache(AbstractGlyphCache&, const Containers::StridedArrayView1D<const UnsignedInt>&) { bool AbstractFont::doFillGlyphCache(AbstractGlyphCache&, const Containers::StridedArrayView1D<const UnsignedInt>&) {
CORRADE_ASSERT_UNREACHABLE("Text::AbstractFont::fillGlyphCache(): feature advertised but not implemented", {}); CORRADE_ASSERT_UNREACHABLE("Text::AbstractFont::fillGlyphCache(): feature advertised but not implemented", {});
return {};
} }
Containers::Pointer<AbstractGlyphCache> AbstractFont::createGlyphCache() { Containers::Pointer<AbstractGlyphCache> AbstractFont::createGlyphCache() {

Loading…
Cancel
Save