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
c64a0fd9
Commit
c64a0fd9
authored
Jul 21, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gphoto2.ds: Remove unused variables.
parent
474899db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
ds_image.c
dlls/gphoto2.ds/ds_image.c
+2
-5
No files found.
dlls/gphoto2.ds/ds_image.c
View file @
c64a0fd9
...
...
@@ -384,7 +384,7 @@ TW_UINT16 GPHOTO2_ImageNativeXferGet (pTW_IDENTITY pOrigin,
pTW_UINT32
pHandle
=
(
pTW_UINT32
)
pData
;
HBITMAP
hDIB
;
BITMAPINFO
bmpInfo
;
LPBYTE
bits
,
oldbits
;
LPBYTE
bits
;
JSAMPROW
samprow
,
oldsamprow
;
HDC
dc
;
...
...
@@ -438,7 +438,6 @@ TW_UINT16 GPHOTO2_ImageNativeXferGet (pTW_IDENTITY pOrigin,
return
TWRC_FAILURE
;
}
samprow
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
activeDS
.
jd
.
output_width
*
activeDS
.
jd
.
output_components
);
oldbits
=
bits
;
oldsamprow
=
samprow
;
while
(
activeDS
.
jd
.
output_scanline
<
activeDS
.
jd
.
output_height
)
{
int
i
,
x
=
pjpeg_read_scanlines
(
&
activeDS
.
jd
,
&
samprow
,
1
);
...
...
@@ -455,7 +454,6 @@ TW_UINT16 GPHOTO2_ImageNativeXferGet (pTW_IDENTITY pOrigin,
bits
=
(
LPBYTE
)(((
UINT_PTR
)
bits
+
3
)
&
~
3
);
samprow
=
oldsamprow
;
}
bits
=
oldbits
;
HeapFree
(
GetProcessHeap
(),
0
,
samprow
);
gp_file_unref
(
activeDS
.
file
);
activeDS
.
file
=
NULL
;
...
...
@@ -575,7 +573,7 @@ _get_gphoto2_file_as_DIB(
struct
jpeg_error_mgr
jerr
;
HDC
dc
;
BITMAPINFO
bmpInfo
;
LPBYTE
bits
,
oldbits
;
LPBYTE
bits
;
JSAMPROW
samprow
,
oldsamprow
;
if
(
!
libjpeg_handle
)
{
...
...
@@ -648,7 +646,6 @@ _get_gphoto2_file_as_DIB(
return
TWRC_FAILURE
;
}
samprow
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
jd
.
output_width
*
jd
.
output_components
);
oldbits
=
bits
;
oldsamprow
=
samprow
;
while
(
jd
.
output_scanline
<
jd
.
output_height
)
{
int
i
,
x
=
pjpeg_read_scanlines
(
&
jd
,
&
samprow
,
1
);
...
...
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