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
2d9b68ee
Commit
2d9b68ee
authored
Oct 05, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Remove unneeded memset() calls.
parent
4e00d794
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
driveui.c
programs/winecfg/driveui.c
+0
-3
No files found.
programs/winecfg/driveui.c
View file @
2d9b68ee
...
...
@@ -290,7 +290,6 @@ static int fill_drives_list(HWND dialog)
letter
[
1
]
=
':'
;
letter
[
2
]
=
0
;
memset
(
&
item
,
0
,
sizeof
(
item
));
item
.
mask
=
LVIF_TEXT
|
LVIF_PARAM
;
item
.
iItem
=
count
;
item
.
iSubItem
=
0
;
...
...
@@ -387,7 +386,6 @@ static void on_remove_click(HWND dialog)
itemIndex
=
lv_get_curr_select
(
dialog
);
if
(
itemIndex
==
-
1
)
return
;
/* no selection */
memset
(
&
item
,
0
,
sizeof
(
item
));
item
.
mask
=
LVIF_PARAM
;
item
.
iItem
=
itemIndex
;
item
.
iSubItem
=
0
;
...
...
@@ -437,7 +435,6 @@ static void update_controls(HWND dialog)
return
;
}
memset
(
&
item
,
0
,
sizeof
(
item
));
item
.
mask
=
LVIF_PARAM
;
item
.
iItem
=
i
;
item
.
iSubItem
=
0
;
...
...
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