Remove name_term

It’s never actually called.
* src/names.c (name_term): Remove.  All uses removed.
This commit is contained in:
Paul Eggert
2024-11-01 09:40:36 -07:00
parent fae968bd2d
commit 61a978f6d4
3 changed files with 0 additions and 8 deletions

View File

@@ -782,7 +782,6 @@ int uname_to_uid (char const *uname, uid_t *puid);
void name_init (void);
void name_add_name (const char *name);
void name_term (void);
char const *name_next (bool);
void name_gather (void);
struct name *addname (char const *, idx_t, bool, struct name *);

View File

@@ -878,12 +878,6 @@ name_init (void)
name_buffer_length = NAME_FIELD_SIZE;
name_list_adjust ();
}
void
name_term (void)
{
free (name_buffer);
}
/* Prevent recursive inclusion of the same file */
struct file_id_list

View File

@@ -2943,7 +2943,6 @@ main (int argc, char **argv)
{
free (archive_name_array);
xattrs_clear_setup ();
name_term ();
}
if (exit_status == TAREXIT_FAILURE)