Commit 7a02782f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent 68fcf9d7
...@@ -3348,14 +3348,9 @@ rpRangeProperties = &ShapingData[psa->eScript].defaultTextRange; ...@@ -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 ) 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; int i;
rpRangeProperties = &ShapingData[psa->eScript].defaultGPOSTextRange;
if (!rpRangeProperties)
return;
load_ot_tables(hdc, psc); load_ot_tables(hdc, psc);
if (!psc->GPOS_Table || !psc->otm) if (!psc->GPOS_Table || !psc->otm)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment