Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
3aa6cff4
Commit
3aa6cff4
authored
May 05, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Remove variable type which is not really used from rsrcid_to_token.
parent
34db2df2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
parser.y
tools/wrc/parser.y
+0
-16
No files found.
tools/wrc/parser.y
View file @
3aa6cff4
...
...
@@ -2865,7 +2865,6 @@ clean:
static int rsrcid_to_token(int lookahead)
{
int token;
const char *type = "?";
/* Get a token if we don'
t
have
one
yet
*/
if
(
lookahead
==
YYEMPTY
)
...
...
@@ -2886,64 +2885,49 @@ static int rsrcid_to_token(int lookahead)
switch
(
yylval
.num
)
{
case
WRC_RT_CURSOR
:
type
=
"CURSOR"
;
token
=
tCURSOR
;
break;
case
WRC_RT_ICON
:
type
=
"ICON"
;
token
=
tICON
;
break;
case
WRC_RT_BITMAP
:
type
=
"BITMAP"
;
token
=
tBITMAP
;
break;
case
WRC_RT_FONT
:
type
=
"FONT"
;
token
=
tFONT
;
break;
case
WRC_RT_FONTDIR
:
type
=
"FONTDIR"
;
token
=
tFONTDIR
;
break;
case
WRC_RT_RCDATA
:
type
=
"RCDATA"
;
token
=
tRCDATA
;
break;
case
WRC_RT_MESSAGETABLE
:
type
=
"MESSAGETABLE"
;
token
=
tMESSAGETABLE
;
break;
case
WRC_RT_DLGINIT
:
type
=
"DLGINIT"
;
token
=
tDLGINIT
;
break;
case
WRC_RT_ACCELERATOR
:
type
=
"ACCELERATOR"
;
token
=
tACCELERATORS
;
break;
case
WRC_RT_MENU
:
type
=
"MENU"
;
token
=
tMENU
;
break;
case
WRC_RT_DIALOG
:
type
=
"DIALOG"
;
token
=
tDIALOG
;
break;
case
WRC_RT_VERSION
:
type
=
"VERSION"
;
token
=
tVERSIONINFO
;
break;
case
WRC_RT_TOOLBAR
:
type
=
"TOOLBAR"
;
token
=
tTOOLBAR
;
break;
case
WRC_RT_HTML
:
type
=
"HTML"
;
token
=
tHTML
;
break;
case
WRC_RT_STRING
:
type
=
"STRINGTABLE"
;
break
;
case
WRC_RT_ANICURSOR
:
...
...
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