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
9c69b235
Commit
9c69b235
authored
May 02, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Remove variable retX which is not really used from emulate_instruction.
parent
5dac305b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
instr.c
dlls/ntoskrnl.exe/instr.c
+1
-4
No files found.
dlls/ntoskrnl.exe/instr.c
View file @
9c69b235
...
@@ -260,7 +260,7 @@ static BYTE *INSTR_GetOperandAddr( CONTEXT86 *context, BYTE *instr,
...
@@ -260,7 +260,7 @@ static BYTE *INSTR_GetOperandAddr( CONTEXT86 *context, BYTE *instr,
*/
*/
static
DWORD
emulate_instruction
(
EXCEPTION_RECORD
*
rec
,
CONTEXT86
*
context
)
static
DWORD
emulate_instruction
(
EXCEPTION_RECORD
*
rec
,
CONTEXT86
*
context
)
{
{
int
prefix
,
segprefix
,
prefixlen
,
len
,
repX
,
long_op
,
long_addr
;
int
prefix
,
segprefix
,
prefixlen
,
len
,
long_op
,
long_addr
;
BYTE
*
instr
;
BYTE
*
instr
;
long_op
=
long_addr
=
1
;
long_op
=
long_addr
=
1
;
...
@@ -271,7 +271,6 @@ static DWORD emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
...
@@ -271,7 +271,6 @@ static DWORD emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
segprefix
=
-
1
;
/* no prefix */
segprefix
=
-
1
;
/* no prefix */
prefix
=
1
;
prefix
=
1
;
repX
=
0
;
prefixlen
=
0
;
prefixlen
=
0
;
while
(
prefix
)
while
(
prefix
)
{
{
...
@@ -304,10 +303,8 @@ static DWORD emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
...
@@ -304,10 +303,8 @@ static DWORD emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
case
0xf0
:
/* lock */
case
0xf0
:
/* lock */
break
;
break
;
case
0xf2
:
/* repne */
case
0xf2
:
/* repne */
repX
=
1
;
break
;
break
;
case
0xf3
:
/* repe */
case
0xf3
:
/* repe */
repX
=
2
;
break
;
break
;
default:
default:
prefix
=
0
;
/* no more prefixes */
prefix
=
0
;
/* no more prefixes */
...
...
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