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
8b6f9175
Commit
8b6f9175
authored
Nov 28, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Nov 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabinet: Remove useless ERR and turn one ERR into a WARN.
parent
9478e1e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
fdi.c
dlls/cabinet/fdi.c
+4
-9
No files found.
dlls/cabinet/fdi.c
View file @
8b6f9175
...
...
@@ -710,7 +710,7 @@ static BOOL FDI_read_entries(
}
/***********************************************************************
*
FDIIsCabinet (CABINET.21)
*
FDIIsCabinet (CABINET.21)
*
* Informs the caller as to whether or not the provided file handle is
* really a cabinet or not, filling out the provided PFDICABINETINFO
...
...
@@ -725,7 +725,7 @@ static BOOL FDI_read_entries(
* be filled out with information about the cabinet
* file indicated by hf if, indeed, it is determined
* to be a cabinet.
*
*
* RETURNS
* TRUE if the file is a cabinet. The info pointed to by pfdici will
* be provided.
...
...
@@ -736,10 +736,7 @@ static BOOL FDI_read_entries(
* INCLUDES
* fdi.c
*/
BOOL
__cdecl
FDIIsCabinet
(
HFDI
hfdi
,
INT_PTR
hf
,
PFDICABINETINFO
pfdici
)
BOOL
__cdecl
FDIIsCabinet
(
HFDI
hfdi
,
INT_PTR
hf
,
PFDICABINETINFO
pfdici
)
{
BOOL
rv
;
FDI_Int
*
fdi
=
get_fdi_ptr
(
hfdi
);
...
...
@@ -749,13 +746,11 @@ BOOL __cdecl FDIIsCabinet(
if
(
!
fdi
)
return
FALSE
;
if
(
!
hf
)
{
ERR
(
"(!hf)!
\n
"
);
SetLastError
(
ERROR_INVALID_HANDLE
);
return
FALSE
;
}
if
(
!
pfdici
)
{
ERR
(
"(!pfdici)!
\n
"
);
SetLastError
(
ERROR_BAD_ARGUMENTS
);
return
FALSE
;
}
...
...
@@ -2533,7 +2528,7 @@ BOOL __cdecl FDICopy(
/* check if it's really a cabfile. Note that this doesn't implement the bug */
if
(
!
FDI_read_entries
(
fdi
,
cabhf
,
&
fdici
,
&
(
CAB
(
mii
))))
{
ERR
(
"FDIIsCabinet failed: %u.
\n
"
,
fdi
->
perf
->
erfOper
);
WARN
(
"FDI_read_entries failed: %u
\n
"
,
fdi
->
perf
->
erfOper
);
fdi
->
free
(
decomp_state
);
fdi
->
close
(
cabhf
);
return
FALSE
;
...
...
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