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
f692f195
Commit
f692f195
authored
Apr 24, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove unused variables.
parent
649c7aeb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
shlfileop.c
dlls/shell32/shlfileop.c
+2
-2
shlmenu.c
dlls/shell32/shlmenu.c
+2
-6
No files found.
dlls/shell32/shlfileop.c
View file @
f692f195
...
...
@@ -1002,7 +1002,7 @@ static HRESULT parse_file_list(FILE_LIST *flList, LPCWSTR szFiles)
{
LPCWSTR
ptr
=
szFiles
;
WCHAR
szCurFile
[
MAX_PATH
];
DWORD
i
=
0
,
dwDirLen
;
DWORD
i
=
0
;
if
(
!
szFiles
)
return
ERROR_INVALID_PARAMETER
;
...
...
@@ -1027,7 +1027,7 @@ static HRESULT parse_file_list(FILE_LIST *flList, LPCWSTR szFiles)
/* change relative to absolute path */
if
(
PathIsRelativeW
(
ptr
))
{
dwDirLen
=
GetCurrentDirectoryW
(
MAX_PATH
,
szCurFile
)
+
1
;
GetCurrentDirectoryW
(
MAX_PATH
,
szCurFile
)
;
PathCombineW
(
szCurFile
,
szCurFile
,
ptr
);
flList
->
feFiles
[
i
].
bFromRelative
=
TRUE
;
}
...
...
dlls/shell32/shlmenu.c
View file @
f692f195
...
...
@@ -132,7 +132,7 @@ static LPFMINFO FM_SetMenuParameter(
static
int
FM_InitMenuPopup
(
HMENU
hmenu
,
LPCITEMIDLIST
pAlternatePidl
)
{
IShellFolder
*
lpsf
,
*
lpsf2
;
ULONG
ulItemAttr
=
SFGAO_FOLDER
;
UINT
uID
,
u
Flags
,
u
EnumFlags
;
UINT
uID
,
uEnumFlags
;
LPFNFMCALLBACK
lpfnCallback
;
LPCITEMIDLIST
pidl
;
WCHAR
sTemp
[
MAX_PATH
];
...
...
@@ -164,7 +164,6 @@ static int FM_InitMenuPopup(HMENU hmenu, LPCITEMIDLIST pAlternatePidl)
return
0
;
uID
=
menudata
->
uID
;
uFlags
=
menudata
->
uFlags
;
uEnumFlags
=
menudata
->
uEnumFlags
;
lpfnCallback
=
menudata
->
lpfnCallback
;
menudata
->
bInitialized
=
FALSE
;
...
...
@@ -593,7 +592,7 @@ LRESULT WINAPI FileMenu_DrawItem(
COLORREF
clrPrevText
,
clrPrevBkgnd
;
int
xi
,
yi
,
xt
,
yt
;
HIMAGELIST
hImageList
;
RECT
TextRect
,
BorderRect
;
RECT
TextRect
;
LPFMINFO
menuinfo
;
TRACE
(
"%p %p %s
\n
"
,
hWnd
,
lpdis
,
debugstr_w
(
pMyItem
->
szItemText
));
...
...
@@ -616,9 +615,6 @@ LRESULT WINAPI FileMenu_DrawItem(
if
(
menuinfo
->
nBorderWidth
)
TextRect
.
left
+=
menuinfo
->
nBorderWidth
;
BorderRect
.
right
=
menuinfo
->
nBorderWidth
;
/* FillRect(lpdis->hDC, &BorderRect, CreateSolidBrush( menuinfo->crBorderColor));
*/
TextRect
.
left
+=
FM_LEFTBORDER
;
xi
=
TextRect
.
left
+
FM_SPACE1
;
yi
=
TextRect
.
top
+
FM_Y_SPACE
/
2
;
...
...
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