Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b97cf7ab
Commit
b97cf7ab
authored
Jan 25, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Remove unused temp_name member.
parent
9a047736
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
11 deletions
+0
-11
parser.h
tools/widl/parser.h
+0
-1
parser.l
tools/widl/parser.l
+0
-9
widl.c
tools/widl/widl.c
+0
-1
No files found.
tools/widl/parser.h
View file @
b97cf7ab
...
...
@@ -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
...
...
tools/widl/parser.l
View file @
b97cf7ab
...
...
@@ -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;
...
...
tools/widl/widl.c
View file @
b97cf7ab
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment