Remove two file that are not need any longer

fix some compilings warings

svn path=/trunk/; revision=15646
This commit is contained in:
Magnus Olsen 2005-05-28 23:34:24 +00:00
parent de71d516e8
commit 7e6a4cd48c
4 changed files with 7 additions and 42 deletions

View file

@ -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:

View file

@ -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

View file

@ -2523,9 +2523,13 @@ exit_handler:
* print_fileinfo (internal)
*/
void print_fileinfo(struct cab_file *fi) {
int d = fi->date, t = fi->time;
int d;
int t;
char *fname = NULL;
d = fi->date;
t = fi->time;
if (fi->attribs & cffile_A_NAME_IS_UTF) {
fname = malloc(strlen(fi->filename) + 1);
if (fname) {

View file

@ -94,9 +94,10 @@ HRESULT WINAPI Extract(EXTRACTdest *dest, LPCSTR what)
#define DUMPH(idx) idx >= sizeof(EXTRACTdest) ? 0x55 : ptr[idx]
LPSTR dir;
unsigned char *ptr = (unsigned char*) dest;
unsigned char *ptr;
unsigned int i;
ptr = ((unsigned char*) dest);
TRACE("(dest == %0lx, what == %s)\n", (long) dest, debugstr_a(what));
if (!dest) {