Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b3af0870
Commit
b3af0870
authored
Jun 08, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
itss: Fix potentially uninitialized variable compiler warnings.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
683583fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
chm_lib.c
dlls/itss/chm_lib.c
+7
-12
No files found.
dlls/itss/chm_lib.c
View file @
b3af0870
...
...
@@ -807,21 +807,16 @@ struct chmFile *chm_openW(const WCHAR *filename)
{
newHandle
->
compression_enabled
=
0
;
}
newHandle
->
window_size
=
ctlData
.
windowSize
;
newHandle
->
reset_interval
=
ctlData
.
resetInterval
;
else
{
newHandle
->
window_size
=
ctlData
.
windowSize
;
newHandle
->
reset_interval
=
ctlData
.
resetInterval
;
/* Jed, Mon Jun 28: Experimentally, it appears that the reset block count */
/* must be multiplied by this formerly unknown ctrl data field in */
/* order to decompress some files. */
#if 0
newHandle->reset_blkcount = newHandle->reset_interval /
(newHandle->window_size / 2);
#else
newHandle
->
reset_blkcount
=
newHandle
->
reset_interval
/
(
newHandle
->
window_size
/
2
)
*
ctlData
.
windowsPerReset
;
#endif
newHandle
->
reset_blkcount
=
newHandle
->
reset_interval
/
(
newHandle
->
window_size
/
2
)
*
ctlData
.
windowsPerReset
;
}
}
return
newHandle
;
...
...
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