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
4dbcbae5
Commit
4dbcbae5
authored
Jun 07, 2005
by
Thomas Weidenmueller
Committed by
Alexandre Julliard
Jun 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed local variables only used in TRACE statements.
parent
92990283
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
cabextract.c
dlls/cabinet/cabextract.c
+3
-3
cabinet_main.c
dlls/cabinet/cabinet_main.c
+3
-3
No files found.
dlls/cabinet/cabextract.c
View file @
4dbcbae5
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <ctype.h>
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
...
@@ -2523,7 +2524,6 @@ exit_handler:
...
@@ -2523,7 +2524,6 @@ exit_handler:
* print_fileinfo (internal)
* print_fileinfo (internal)
*/
*/
void
print_fileinfo
(
struct
cab_file
*
fi
)
{
void
print_fileinfo
(
struct
cab_file
*
fi
)
{
int
d
=
fi
->
date
,
t
=
fi
->
time
;
char
*
fname
=
NULL
;
char
*
fname
=
NULL
;
if
(
fi
->
attribs
&
cffile_A_NAME_IS_UTF
)
{
if
(
fi
->
attribs
&
cffile_A_NAME_IS_UTF
)
{
...
@@ -2536,8 +2536,8 @@ void print_fileinfo(struct cab_file *fi) {
...
@@ -2536,8 +2536,8 @@ void print_fileinfo(struct cab_file *fi) {
TRACE
(
"%9u | %02d.%02d.%04d %02d:%02d:%02d | %s
\n
"
,
TRACE
(
"%9u | %02d.%02d.%04d %02d:%02d:%02d | %s
\n
"
,
fi
->
length
,
fi
->
length
,
d
&
0x1f
,
(
d
>>
5
)
&
0xf
,
(
d
>>
9
)
+
1980
,
fi
->
date
&
0x1f
,
(
fi
->
date
>>
5
)
&
0xf
,
(
fi
->
date
>>
9
)
+
1980
,
t
>>
11
,
(
t
>>
5
)
&
0x3f
,
(
t
<<
1
)
&
0x3e
,
fi
->
time
>>
11
,
(
fi
->
time
>>
5
)
&
0x3f
,
(
fi
->
time
<<
1
)
&
0x3e
,
fname
?
fname
:
fi
->
filename
fname
?
fname
:
fi
->
filename
);
);
...
...
dlls/cabinet/cabinet_main.c
View file @
4dbcbae5
...
@@ -89,12 +89,12 @@ HRESULT WINAPI CABINET_DllGetVersion (DLLVERSIONINFO *pdvi)
...
@@ -89,12 +89,12 @@ HRESULT WINAPI CABINET_DllGetVersion (DLLVERSIONINFO *pdvi)
HRESULT
WINAPI
Extract
(
EXTRACTdest
*
dest
,
LPCSTR
what
)
HRESULT
WINAPI
Extract
(
EXTRACTdest
*
dest
,
LPCSTR
what
)
{
{
#define DUMPC(idx) idx >= sizeof(EXTRACTdest) ? ' ' : \
#define DUMPC(idx) idx >= sizeof(EXTRACTdest) ? ' ' : \
ptr[idx] >= 0x20 ? ptr[idx] : '.'
((unsigned char*) dest)[idx] >= 0x20 ? \
((unsigned char*) dest)[idx] : '.'
#define DUMPH(idx) idx >= sizeof(EXTRACTdest) ? 0x55 :
ptr
[idx]
#define DUMPH(idx) idx >= sizeof(EXTRACTdest) ? 0x55 :
((unsigned char*) dest)
[idx]
LPSTR
dir
;
LPSTR
dir
;
unsigned
char
*
ptr
=
(
unsigned
char
*
)
dest
;
unsigned
int
i
;
unsigned
int
i
;
TRACE
(
"(dest == %0lx, what == %s)
\n
"
,
(
long
)
dest
,
debugstr_a
(
what
));
TRACE
(
"(dest == %0lx, what == %s)
\n
"
,
(
long
)
dest
,
debugstr_a
(
what
));
...
...
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