Gerald Pfeifer : winebuild: Remove unused empty_name_table.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 28 20:50:43 CDT 2014


Module: wine
Branch: master
Commit: 4a8d186bbcadc65d7f3c944c971b22d45fc06662
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4a8d186bbcadc65d7f3c944c971b22d45fc06662

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri Jul 25 23:23:26 2014 +0200

winebuild: Remove unused empty_name_table.

---

 tools/winebuild/import.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c
index 6bafd86..3ad5cab 100644
--- a/tools/winebuild/import.c
+++ b/tools/winebuild/import.c
@@ -115,15 +115,6 @@ static inline void remove_name( struct name_table *table, unsigned int idx )
     table->count--;
 }
 
-/* make a name table empty */
-static inline void empty_name_table( struct name_table *table )
-{
-    unsigned int i;
-
-    for (i = 0; i < table->count; i++) free( table->names[i] );
-    table->count = 0;
-}
-
 /* locate a name in a (sorted) list */
 static inline const char *find_name( const char *name, const struct name_table *table )
 {




More information about the wine-cvs mailing list