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
643dc217
Commit
643dc217
authored
Jun 30, 2005
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Jun 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid unused variable warnings in CDROM_ScsiPassThroughDir() and
CDROM_ScsiPassThrough().
parent
b3415b03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cdrom.c
dlls/ntdll/cdrom.c
+4
-2
No files found.
dlls/ntdll/cdrom.c
View file @
643dc217
...
...
@@ -1405,10 +1405,11 @@ static NTSTATUS CDROM_ScsiPassThroughDirect(int fd, PSCSI_PASS_THROUGH_DIRECT pP
int
ret
=
STATUS_NOT_SUPPORTED
;
#ifdef HAVE_SG_IO_HDR_T_INTERFACE_ID
sg_io_hdr_t
cmd
;
int
io
;
#elif defined HAVE_SCSIREQ_T_CMD
scsireq_t
cmd
;
#endif
int
io
;
#endif
if
(
pPacket
->
Length
<
sizeof
(
SCSI_PASS_THROUGH_DIRECT
))
return
STATUS_BUFFER_TOO_SMALL
;
...
...
@@ -1524,10 +1525,11 @@ static NTSTATUS CDROM_ScsiPassThrough(int fd, PSCSI_PASS_THROUGH pPacket)
int
ret
=
STATUS_NOT_SUPPORTED
;
#ifdef HAVE_SG_IO_HDR_T_INTERFACE_ID
sg_io_hdr_t
cmd
;
int
io
;
#elif defined HAVE_SCSIREQ_T_CMD
scsireq_t
cmd
;
#endif
int
io
;
#endif
if
(
pPacket
->
Length
<
sizeof
(
SCSI_PASS_THROUGH
))
return
STATUS_BUFFER_TOO_SMALL
;
...
...
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