widl: Remove unused temp_name member.

This commit is contained in:
Rémi Bernon 2023-01-25 23:00:23 +01:00 committed by Alexandre Julliard
parent 9a047736b3
commit b97cf7ab5f
3 changed files with 0 additions and 11 deletions

View file

@ -30,7 +30,6 @@ extern int yy_flex_debug;
extern int import_stack_ptr;
int do_import(char *fname);
void abort_import(void);
void pop_import(void);
#define parse_only import_stack_ptr

View file

@ -86,7 +86,6 @@ struct {
YY_BUFFER_STATE state;
char *input_name;
int line_number;
char *temp_name;
} import_stack[MAX_IMPORT_DEPTH];
int import_stack_ptr = 0;
@ -569,14 +568,6 @@ int do_import(char *fname)
return 1;
}
void abort_import(void)
{
int ptr;
for (ptr=0; ptr<import_stack_ptr; ptr++)
unlink(import_stack[ptr].temp_name);
}
static void switch_to_acf(void)
{
int ptr = import_stack_ptr;

View file

@ -886,7 +886,6 @@ int main(int argc,char *argv[])
static void rm_tempfile(void)
{
abort_import();
if (do_header)
unlink(header_name);
if (local_stubs_name)