[pshinter] Remove unnecessary check.

* src/pshinter/pshalgo.c (psh_hint_table_find_strong_points): Do not
check if direction is defined before checking how.
This commit is contained in:
Alexei Podtelezhnikov 2021-10-03 22:45:42 -04:00
parent 3a65f1a215
commit d102a51438
1 changed files with 26 additions and 29 deletions

View File

@ -1434,8 +1434,6 @@
else if ( PSH_DIR_COMPARE( point->dir_out, major_dir ) )
point_dir = point->dir_out;
if ( point_dir )
{
if ( point_dir == major_dir )
{
FT_UInt nn;
@ -1476,7 +1474,6 @@
}
}
}
}
#if 1
else if ( psh_point_is_extremum( point ) )