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
099514e7
Commit
099514e7
authored
Dec 01, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Dec 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Remove unused code (Clang).
parent
ec8602a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
49 deletions
+0
-49
typelib.c
dlls/oleaut32/typelib.c
+0
-16
variant.c
dlls/oleaut32/variant.c
+0
-33
No files found.
dlls/oleaut32/typelib.c
View file @
099514e7
...
...
@@ -1726,18 +1726,6 @@ static inline TLBFuncDesc *TLB_get_funcdesc_by_memberid(TLBFuncDesc *funcdescs,
return
NULL
;
}
static
inline
TLBFuncDesc
*
TLB_get_funcdesc_by_name
(
TLBFuncDesc
*
funcdescs
,
UINT
n
,
const
OLECHAR
*
name
)
{
while
(
n
){
if
(
!
lstrcmpiW
(
TLB_get_bstr
(
funcdescs
->
Name
),
name
))
return
funcdescs
;
++
funcdescs
;
--
n
;
}
return
NULL
;
}
static
inline
TLBVarDesc
*
TLB_get_vardesc_by_memberid
(
TLBVarDesc
*
vardescs
,
UINT
n
,
MEMBERID
memid
)
{
...
...
@@ -2063,10 +2051,6 @@ static HRESULT TLB_size_instance(ITypeInfoImpl *info, SYSKIND sys,
*
* Functions for reading MSFT typelibs (those created by CreateTypeLib2)
*/
static
inline
unsigned
int
MSFT_Tell
(
const
TLBContext
*
pcx
)
{
return
pcx
->
pos
;
}
static
inline
void
MSFT_Seek
(
TLBContext
*
pcx
,
LONG
where
)
{
...
...
dlls/oleaut32/variant.c
View file @
099514e7
...
...
@@ -44,39 +44,6 @@
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
variant
);
static
const
char
*
const
variant_types
[]
=
{
"VT_EMPTY"
,
"VT_NULL"
,
"VT_I2"
,
"VT_I4"
,
"VT_R4"
,
"VT_R8"
,
"VT_CY"
,
"VT_DATE"
,
"VT_BSTR"
,
"VT_DISPATCH"
,
"VT_ERROR"
,
"VT_BOOL"
,
"VT_VARIANT"
,
"VT_UNKNOWN"
,
"VT_DECIMAL"
,
"15"
,
"VT_I1"
,
"VT_UI1"
,
"VT_UI2"
,
"VT_UI4"
,
"VT_I8"
,
"VT_UI8"
,
"VT_INT"
,
"VT_UINT"
,
"VT_VOID"
,
"VT_HRESULT"
,
"VT_PTR"
,
"VT_SAFEARRAY"
,
"VT_CARRAY"
,
"VT_USERDEFINED"
,
"VT_LPSTR"
,
"VT_LPWSTR"
,
"32"
,
"33"
,
"34"
,
"35"
,
"VT_RECORD"
,
"VT_INT_PTR"
,
"VT_UINT_PTR"
,
"39"
,
"40"
,
"41"
,
"42"
,
"43"
,
"44"
,
"45"
,
"46"
,
"47"
,
"48"
,
"49"
,
"50"
,
"51"
,
"52"
,
"53"
,
"54"
,
"55"
,
"56"
,
"57"
,
"58"
,
"59"
,
"60"
,
"61"
,
"62"
,
"63"
,
"VT_FILETIME"
,
"VT_BLOB"
,
"VT_STREAM"
,
"VT_STORAGE"
,
"VT_STREAMED_OBJECT"
,
"VT_STORED_OBJECT"
,
"VT_BLOB_OBJECT"
,
"VT_CF"
,
"VT_CLSID"
,
"VT_VERSIONED_STREAM"
};
static
const
char
*
const
variant_flags
[
16
]
=
{
""
,
"|VT_VECTOR"
,
"|VT_ARRAY"
,
"|VT_VECTOR|VT_ARRAY"
,
"|VT_BYREF"
,
"|VT_VECTOR|VT_ARRAY"
,
"|VT_ARRAY|VT_BYREF"
,
"|VT_VECTOR|VT_ARRAY|VT_BYREF"
,
"|VT_RESERVED"
,
"|VT_VECTOR|VT_RESERVED"
,
"|VT_ARRAY|VT_RESERVED"
,
"|VT_VECTOR|VT_ARRAY|VT_RESERVED"
,
"|VT_BYREF|VT_RESERVED"
,
"|VT_VECTOR|VT_ARRAY|VT_RESERVED"
,
"|VT_ARRAY|VT_BYREF|VT_RESERVED"
,
"|VT_VECTOR|VT_ARRAY|VT_BYREF|VT_RESERVED"
,
};
/* Convert a variant from one type to another */
static
inline
HRESULT
VARIANT_Coerce
(
VARIANTARG
*
pd
,
LCID
lcid
,
USHORT
wFlags
,
...
...
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