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
27862755
Commit
27862755
authored
Jan 11, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
itss: Remove unused variable and associated dead code.
parent
934c4899
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
33 deletions
+0
-33
chm_lib.c
dlls/itss/chm_lib.c
+0
-33
No files found.
dlls/itss/chm_lib.c
View file @
27862755
...
...
@@ -220,12 +220,6 @@ static const WCHAR _CHMU_CONTENT[] = {
'M'
,
'S'
,
'C'
,
'o'
,
'm'
,
'p'
,
'r'
,
'e'
,
's'
,
's'
,
'e'
,
'd'
,
'/'
,
'C'
,
'o'
,
'n'
,
't'
,
'e'
,
'n'
,
't'
,
0
};
static
const
WCHAR
_CHMU_SPANINFO
[]
=
{
':'
,
':'
,
'D'
,
'a'
,
't'
,
'a'
,
'S'
,
'p'
,
'a'
,
'c'
,
'e'
,
'/'
,
'S'
,
't'
,
'o'
,
'r'
,
'a'
,
'g'
,
'e'
,
'/'
,
'M'
,
'S'
,
'C'
,
'o'
,
'm'
,
'p'
,
'r'
,
'e'
,
's'
,
's'
,
'e'
,
'd'
,
'/'
,
'S'
,
'p'
,
'a'
,
'n'
,
'I'
,
'n'
,
'f'
,
'o'
,
};
/*
* structures local to this module
...
...
@@ -756,33 +750,6 @@ struct chmFile *chm_openW(const WCHAR *filename)
/* By default, compression is enabled. */
newHandle
->
compression_enabled
=
1
;
/* Jed, Sun Jun 27: 'span' doesn't seem to be used anywhere?! */
#if 0
/* fetch span */
if (CHM_RESOLVE_SUCCESS != chm_resolve_object(newHandle,
_CHMU_SPANINFO,
&uiSpan) ||
uiSpan.space == CHM_COMPRESSED)
{
chm_close(newHandle);
return NULL;
}
/* N.B.: we've already checked that uiSpan is in the uncompressed section,
* so this should not require attempting to decompress, which may
* rely on having a valid "span"
*/
sremain = 8;
sbufpos = sbuffer;
if (chm_retrieve_object(newHandle, &uiSpan, sbuffer,
0, sremain) != sremain ||
!_unmarshal_uint64(&sbufpos, &sremain, &newHandle->span))
{
chm_close(newHandle);
return NULL;
}
#endif
/* prefetch most commonly needed unit infos */
if
(
CHM_RESOLVE_SUCCESS
!=
chm_resolve_object
(
newHandle
,
_CHMU_RESET_TABLE
,
...
...
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