usp10: Remove dead null check that can't fail (Coverity).

This commit is contained in:
Nikolay Sivov 2015-06-08 11:49:21 +03:00 committed by Alexandre Julliard
parent 68fcf9d7cf
commit 7a02782f48

View file

@ -3348,14 +3348,9 @@ rpRangeProperties = &ShapingData[psa->eScript].defaultTextRange;
void SHAPE_ApplyOpenTypePositions(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *psa, const WORD* pwGlyphs, INT cGlyphs, int *piAdvance, GOFFSET *pGoffset )
{
const TEXTRANGE_PROPERTIES *rpRangeProperties;
const TEXTRANGE_PROPERTIES *rpRangeProperties = &ShapingData[psa->eScript].defaultGPOSTextRange;
int i;
rpRangeProperties = &ShapingData[psa->eScript].defaultGPOSTextRange;
if (!rpRangeProperties)
return;
load_ot_tables(hdc, psc);
if (!psc->GPOS_Table || !psc->otm)