usp10: Remove dead null check that can't fail (Coverity).
This commit is contained in:
parent
68fcf9d7cf
commit
7a02782f48
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue