freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] [psaux] Remove unused structure field.


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] [psaux] Remove unused structure field.
Date: Mon, 01 Aug 2022 02:17:32 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 9de432f7
    by Alexei Podtelezhnikov at 2022-07-31T22:13:34-04:00
    [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.
    

2 changed files:

Changes:

  • include/freetype/internal/psaux.h
    ... ... @@ -132,9 +132,6 @@ FT_BEGIN_HEADER
    132 132
        *   max_elems ::
    
    133 133
        *     The maximum number of elements in table.
    
    134 134
        *
    
    135
    -   *   num_elems ::
    
    136
    -   *     The current number of elements in table.
    
    137
    -   *
    
    138 135
        *   elements ::
    
    139 136
        *     A table of element addresses within the block.
    
    140 137
        *
    
    ... ... @@ -155,7 +152,6 @@ FT_BEGIN_HEADER
    155 152
         FT_ULong           init;
    
    156 153
     
    
    157 154
         FT_Int             max_elems;
    
    158
    -    FT_Int             num_elems;
    
    159 155
         FT_Byte**          elements;       /* addresses of table elements */
    
    160 156
         FT_UInt*           lengths;        /* lengths of table elements   */
    
    161 157
     
    

  • src/psaux/psobjs.c
    ... ... @@ -84,7 +84,6 @@
    84 84
     
    
    85 85
         table->max_elems = count;
    
    86 86
         table->init      = 0xDEADBEEFUL;
    
    87
    -    table->num_elems = 0;
    
    88 87
         table->block     = NULL;
    
    89 88
         table->capacity  = 0;
    
    90 89
         table->cursor    = 0;
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]