Fixed dead store warnings

This commit is contained in:
akallabeth
2022-04-28 10:49:42 +02:00
committed by akallabeth
parent 6fd71fe737
commit 962c5c3ef0
25 changed files with 83 additions and 61 deletions

View File

@@ -86,6 +86,8 @@ int rdtk_nine_patch_draw(rdtkSurface* surface, int nXDst, int nYDst, int nWidth,
if (nHeight < ninePatch->height)
nHeight = ninePatch->height;
WINPR_UNUSED(nHeight);
scaleWidth = nWidth - (ninePatch->width - ninePatch->scaleWidth);
nSrcStep = ninePatch->scanline;
pSrcData = ninePatch->data;