commit | 7c6b2f20b08a33b78b9e95cd77fda68aeedca02d | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Tue Feb 08 14:37:34 2022 +0000 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Tue Feb 08 14:37:34 2022 +0000 |
tree | 068b041012f8ae9377eda1005e0c48f736aaebdc | |
parent | 24db55ecb81ca726b9c7e12e37d54a986c84f014 [diff] |
[pshinter] Revise the hint table handling. * src/pshinter/pshrec.c (ps_hint_table_ensure): Remove redundant size check; avoid array zeroing because it is fully initialized when used. (ps_hint_table_alloc): Fix off-by-one comparison and remove another zeroing of the array elements.