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
74d6fe35
Commit
74d6fe35
authored
Feb 04, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove unused and redundant name field from STREAM structure.
parent
edd9e8cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
streams.c
dlls/msi/streams.c
+2
-13
No files found.
dlls/msi/streams.c
View file @
74d6fe35
...
...
@@ -41,7 +41,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(msidb);
typedef
struct
tabSTREAM
{
UINT
str_index
;
LPWSTR
name
;
IStream
*
stream
;
}
STREAM
;
...
...
@@ -72,7 +71,6 @@ static STREAM *create_stream(MSISTREAMSVIEW *sv, LPWSTR name, BOOL encoded, IStr
{
STREAM
*
stream
;
WCHAR
decoded
[
MAX_STREAM_NAME_LEN
];
LPWSTR
ptr
=
name
;
stream
=
msi_alloc
(
sizeof
(
STREAM
));
if
(
!
stream
)
...
...
@@ -81,18 +79,11 @@ static STREAM *create_stream(MSISTREAMSVIEW *sv, LPWSTR name, BOOL encoded, IStr
if
(
encoded
)
{
decode_streamname
(
name
,
decoded
);
ptr
=
decoded
;
TRACE
(
"stream -> %s %s
\n
"
,
debugstr_w
(
name
),
debugstr_w
(
decoded
));
name
=
decoded
;
}
stream
->
name
=
strdupW
(
ptr
);
if
(
!
stream
->
name
)
{
msi_free
(
stream
);
return
NULL
;
}
stream
->
str_index
=
msi_addstringW
(
sv
->
db
->
strings
,
0
,
stream
->
name
,
-
1
,
1
,
StringNonPersistent
);
stream
->
str_index
=
msi_addstringW
(
sv
->
db
->
strings
,
0
,
name
,
-
1
,
1
,
StringNonPersistent
);
stream
->
stream
=
stm
;
return
stream
;
}
...
...
@@ -404,8 +395,6 @@ static UINT STREAMS_delete(struct tagMSIVIEW *view)
{
if
(
sv
->
streams
[
i
]
->
stream
)
IStream_Release
(
sv
->
streams
[
i
]
->
stream
);
msi_free
(
sv
->
streams
[
i
]
->
name
);
msi_free
(
sv
->
streams
[
i
]);
}
}
...
...
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