-Werror,-Wunused-variable

Change-Id: I22ac9714e59d6bc95ef739fff4832799a2f61bbc
This commit is contained in:
Stephan Bergmann
2016-04-06 08:32:36 +02:00
parent d635b35184
commit 4a08f09c20

View File

@@ -3896,8 +3896,6 @@ bool D2DWriteTextOutRenderer::ReleaseFont()
// baseline, and +ve means the ink starts that many pixels below.
std::vector<Rectangle> D2DWriteTextOutRenderer::GetGlyphInkBoxes(uint16_t * pGid, uint16_t * pGidEnd) const
{
Rectangle aExtent;
Point aPos;
ptrdiff_t nGlyphs = pGidEnd - pGid;
if (nGlyphs < 0) return std::vector<Rectangle>();