mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Remove two file that are not need any longer
fix some compilings warings svn path=/trunk/; revision=15646
This commit is contained in:
parent
de71d516e8
commit
7e6a4cd48c
4 changed files with 7 additions and 42 deletions
|
@ -1,19 +0,0 @@
|
||||||
TOPSRCDIR = @top_srcdir@
|
|
||||||
TOPOBJDIR = ../..
|
|
||||||
SRCDIR = @srcdir@
|
|
||||||
VPATH = @srcdir@
|
|
||||||
MODULE = cabinet.dll
|
|
||||||
IMPORTLIB = libcabinet.$(IMPLIBEXT)
|
|
||||||
IMPORTS = kernel32
|
|
||||||
|
|
||||||
C_SRCS = \
|
|
||||||
cabextract.c \
|
|
||||||
cabinet_main.c \
|
|
||||||
fci.c \
|
|
||||||
fdi.c
|
|
||||||
|
|
||||||
RC_SRCS = cabinet.rc
|
|
||||||
|
|
||||||
@MAKE_DLL_RULES@
|
|
||||||
|
|
||||||
### Dependencies:
|
|
|
@ -1,21 +0,0 @@
|
||||||
# $Id: Makefile.ros-template 11910 2004-12-03 23:37:44Z blight $
|
|
||||||
|
|
||||||
TARGET_NAME = cabinet
|
|
||||||
|
|
||||||
TARGET_OBJECTS = @C_SRCS@
|
|
||||||
|
|
||||||
TARGET_CFLAGS = @EXTRADEFS@ -D__REACTOS__
|
|
||||||
|
|
||||||
TARGET_SDKLIBS = @IMPORTS@ wine.a wine_uuid.a ntdll.a
|
|
||||||
|
|
||||||
TARGET_BASE = $(TARGET_BASE_LIB_CABINET)
|
|
||||||
|
|
||||||
TARGET_RC_SRCS = @RC_SRCS@
|
|
||||||
TARGET_RC_BINSRC = @RC_BINSRC@
|
|
||||||
TARGET_RC_BINARIES = @RC_BINARIES@
|
|
||||||
|
|
||||||
default: all
|
|
||||||
|
|
||||||
DEP_OBJECTS = $(TARGET_OBJECTS)
|
|
||||||
|
|
||||||
include $(TOOLS_PATH)/depend.mk
|
|
|
@ -2523,9 +2523,13 @@ 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;
|
int d;
|
||||||
|
int t;
|
||||||
char *fname = NULL;
|
char *fname = NULL;
|
||||||
|
|
||||||
|
d = fi->date;
|
||||||
|
t = fi->time;
|
||||||
|
|
||||||
if (fi->attribs & cffile_A_NAME_IS_UTF) {
|
if (fi->attribs & cffile_A_NAME_IS_UTF) {
|
||||||
fname = malloc(strlen(fi->filename) + 1);
|
fname = malloc(strlen(fi->filename) + 1);
|
||||||
if (fname) {
|
if (fname) {
|
||||||
|
|
|
@ -94,9 +94,10 @@ HRESULT WINAPI Extract(EXTRACTdest *dest, LPCSTR what)
|
||||||
#define DUMPH(idx) idx >= sizeof(EXTRACTdest) ? 0x55 : ptr[idx]
|
#define DUMPH(idx) idx >= sizeof(EXTRACTdest) ? 0x55 : ptr[idx]
|
||||||
|
|
||||||
LPSTR dir;
|
LPSTR dir;
|
||||||
unsigned char *ptr = (unsigned char*) dest;
|
unsigned char *ptr;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
|
ptr = ((unsigned char*) dest);
|
||||||
TRACE("(dest == %0lx, what == %s)\n", (long) dest, debugstr_a(what));
|
TRACE("(dest == %0lx, what == %s)\n", (long) dest, debugstr_a(what));
|
||||||
|
|
||||||
if (!dest) {
|
if (!dest) {
|
||||||
|
|
Loading…
Reference in a new issue