[psaux] Remove unused structure field.

* include/freetype/internal/psaux.h (PS_TableRec): Remove `num_elems`.
* src/psaux/psobjs.c (ps_table_new): Remoove its initialization.
This commit is contained in:
Alexei Podtelezhnikov 2022-07-31 22:13:34 -04:00
parent 919561ca8c
commit 9de432f7f2
2 changed files with 0 additions and 5 deletions

View File

@ -132,9 +132,6 @@ FT_BEGIN_HEADER
* max_elems ::
* The maximum number of elements in table.
*
* num_elems ::
* The current number of elements in table.
*
* elements ::
* A table of element addresses within the block.
*
@ -155,7 +152,6 @@ FT_BEGIN_HEADER
FT_ULong init;
FT_Int max_elems;
FT_Int num_elems;
FT_Byte** elements; /* addresses of table elements */
FT_UInt* lengths; /* lengths of table elements */

View File

@ -84,7 +84,6 @@
table->max_elems = count;
table->init = 0xDEADBEEFUL;
table->num_elems = 0;
table->block = NULL;
table->capacity = 0;
table->cursor = 0;