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
74007d44
Commit
74007d44
authored
Jan 13, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Remove unused variable assigments (PVS-Studio).
parent
39045b13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
printdlg.c
dlls/comdlg32/printdlg.c
+2
-4
No files found.
dlls/comdlg32/printdlg.c
View file @
74007d44
...
...
@@ -838,8 +838,7 @@ static BOOL PRINTDLG_SetUpPaperComboBoxA(HWND hDlg,
Names
=
HeapAlloc
(
GetProcessHeap
(),
0
,
NrOfEntries
*
sizeof
(
char
)
*
NamesSize
);
Words
=
HeapAlloc
(
GetProcessHeap
(),
0
,
NrOfEntries
*
sizeof
(
WORD
));
NrOfEntries
=
DeviceCapabilitiesA
(
PrinterName
,
PortName
,
fwCapability_Names
,
Names
,
dm
);
DeviceCapabilitiesA
(
PrinterName
,
PortName
,
fwCapability_Names
,
Names
,
dm
);
NrOfEntries
=
DeviceCapabilitiesA
(
PrinterName
,
PortName
,
fwCapability_Words
,
(
LPSTR
)
Words
,
dm
);
...
...
@@ -949,8 +948,7 @@ static BOOL PRINTDLG_SetUpPaperComboBoxW(HWND hDlg,
Names
=
HeapAlloc
(
GetProcessHeap
(),
0
,
NrOfEntries
*
sizeof
(
WCHAR
)
*
NamesSize
);
Words
=
HeapAlloc
(
GetProcessHeap
(),
0
,
NrOfEntries
*
sizeof
(
WORD
));
NrOfEntries
=
DeviceCapabilitiesW
(
PrinterName
,
PortName
,
fwCapability_Names
,
Names
,
dm
);
DeviceCapabilitiesW
(
PrinterName
,
PortName
,
fwCapability_Names
,
Names
,
dm
);
NrOfEntries
=
DeviceCapabilitiesW
(
PrinterName
,
PortName
,
fwCapability_Words
,
Words
,
dm
);
...
...
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