mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 04:27:04 +00:00
widl: Remove unused temp_name member.
This commit is contained in:
parent
9a047736b3
commit
b97cf7ab5f
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue