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
ba742868
Commit
ba742868
authored
Apr 22, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Remove unused variables.
parent
bacd4516
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
typelib.c
dlls/oleaut32/typelib.c
+7
-8
varformat.c
dlls/oleaut32/varformat.c
+0
-2
No files found.
dlls/oleaut32/typelib.c
View file @
ba742868
...
...
@@ -2024,7 +2024,6 @@ static void MSFT_DoVars(TLBContext *pcx, ITypeInfoImpl *pTI, int cFuncs,
static
void
MSFT_DoRefType
(
TLBContext
*
pcx
,
ITypeLibImpl
*
pTL
,
int
offset
)
{
int
j
;
TLBRefType
*
ref
;
TRACE_
(
typelib
)(
"TLB context %p, TLB offset %x
\n
"
,
pcx
,
offset
);
...
...
@@ -2046,7 +2045,7 @@ static void MSFT_DoRefType(TLBContext *pcx, ITypeLibImpl *pTL,
MSFT_ReadLEDWords
(
&
impinfo
,
sizeof
(
impinfo
),
pcx
,
pcx
->
pTblDir
->
pImpInfo
.
offset
+
(
offset
&
0xfffffffc
));
for
(
j
=
0
;
pImpLib
;
j
++
){
/* search the known offsets of all import libraries */
while
(
pImpLib
){
/* search the known offsets of all import libraries */
if
(
pImpLib
->
offset
==
impinfo
.
oImpFile
)
break
;
pImpLib
=
pImpLib
->
next
;
}
...
...
@@ -3284,7 +3283,7 @@ static void SLTG_ProcessCoClass(char *pBlk, ITypeInfoImpl *pTI,
char
*
pNameTable
,
SLTG_TypeInfoHeader
*
pTIHeader
,
SLTG_TypeInfoTail
*
pTITail
)
{
char
*
pFirstItem
,
*
pNextItem
;
char
*
pFirstItem
;
sltg_ref_lookup_t
*
ref_lookup
=
NULL
;
if
(
pTIHeader
->
href_table
!=
0xffffffff
)
{
...
...
@@ -3292,10 +3291,10 @@ static void SLTG_ProcessCoClass(char *pBlk, ITypeInfoImpl *pTI,
pNameTable
);
}
pFirstItem
=
p
NextItem
=
p
Blk
;
pFirstItem
=
pBlk
;
if
(
*
(
WORD
*
)
pFirstItem
==
SLTG_IMPL_MAGIC
)
{
pNextItem
=
SLTG_DoImpls
(
pFirstItem
,
pTI
,
FALSE
,
ref_lookup
);
SLTG_DoImpls
(
pFirstItem
,
pTI
,
FALSE
,
ref_lookup
);
}
HeapFree
(
GetProcessHeap
(),
0
,
ref_lookup
);
}
...
...
@@ -3305,7 +3304,7 @@ static void SLTG_ProcessInterface(char *pBlk, ITypeInfoImpl *pTI,
char
*
pNameTable
,
SLTG_TypeInfoHeader
*
pTIHeader
,
const
SLTG_TypeInfoTail
*
pTITail
)
{
char
*
pFirstItem
,
*
pNextItem
;
char
*
pFirstItem
;
sltg_ref_lookup_t
*
ref_lookup
=
NULL
;
if
(
pTIHeader
->
href_table
!=
0xffffffff
)
{
...
...
@@ -3313,10 +3312,10 @@ static void SLTG_ProcessInterface(char *pBlk, ITypeInfoImpl *pTI,
pNameTable
);
}
pFirstItem
=
p
NextItem
=
p
Blk
;
pFirstItem
=
pBlk
;
if
(
*
(
WORD
*
)
pFirstItem
==
SLTG_IMPL_MAGIC
)
{
pNextItem
=
SLTG_DoImpls
(
pFirstItem
,
pTI
,
TRUE
,
ref_lookup
);
SLTG_DoImpls
(
pFirstItem
,
pTI
,
TRUE
,
ref_lookup
);
}
if
(
pTITail
->
funcs_off
!=
0xffff
)
...
...
dlls/oleaut32/varformat.c
View file @
ba742868
...
...
@@ -522,7 +522,6 @@ HRESULT WINAPI VarTokenizeFormatString(LPOLESTR lpszFormat, LPBYTE rgbTok,
FMT_HEADER
*
header
=
(
FMT_HEADER
*
)
rgbTok
;
FMT_STRING_HEADER
*
str_header
=
(
FMT_STRING_HEADER
*
)(
rgbTok
+
sizeof
(
FMT_HEADER
));
FMT_NUMBER_HEADER
*
num_header
=
(
FMT_NUMBER_HEADER
*
)
str_header
;
FMT_DATE_HEADER
*
date_header
=
(
FMT_DATE_HEADER
*
)
str_header
;
BYTE
*
pOut
=
rgbTok
+
sizeof
(
FMT_HEADER
)
+
sizeof
(
FMT_STRING_HEADER
);
BYTE
*
pLastHours
=
NULL
;
BYTE
fmt_number
=
0
;
...
...
@@ -591,7 +590,6 @@ HRESULT WINAPI VarTokenizeFormatString(LPOLESTR lpszFormat, LPBYTE rgbTok,
header
->
starts
[
fmt_number
]
=
pOut
-
rgbTok
;
str_header
=
(
FMT_STRING_HEADER
*
)
pOut
;
num_header
=
(
FMT_NUMBER_HEADER
*
)
pOut
;
date_header
=
(
FMT_DATE_HEADER
*
)
pOut
;
memset
(
str_header
,
0
,
sizeof
(
FMT_STRING_HEADER
));
pOut
+=
sizeof
(
FMT_STRING_HEADER
);
fmt_state
=
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