mirror of https://github.com/freetype/freetype
[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:
parent
919561ca8c
commit
9de432f7f2
|
@ -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 */
|
||||
|
||||
|
|
|
@ -84,7 +84,6 @@
|
|||
|
||||
table->max_elems = count;
|
||||
table->init = 0xDEADBEEFUL;
|
||||
table->num_elems = 0;
|
||||
table->block = NULL;
|
||||
table->capacity = 0;
|
||||
table->cursor = 0;
|
||||
|
|
Loading…
Reference in New Issue