PATCH: dlls/cabinet/fdi.c

Gerald Pfeifer pfeifer at dbai.tuwien.ac.at
Tue Jun 17 03:42:29 CDT 2003


This patch removes an unused variable introduced by the recent changes
to this file and thus avoids the following warning:

  fdi.c:1793: warning: unused variable `buf2'

Gerald

ChangeLog:
 Remove unused variable in FDICopy().

Index: fdi.c
===================================================================
RCS file: /home/wine/wine/dlls/cabinet/fdi.c,v
retrieving revision 1.6
diff -u -3 -p -r1.6 fdi.c
--- fdi.c	17 Jun 2003 03:56:51 -0000	1.6
+++ fdi.c	17 Jun 2003 08:40:40 -0000
@@ -1790,7 +1790,7 @@ BOOL __cdecl FDICopy(
   char              fullpath[MAX_PATH];
   size_t            pathlen, filenamelen;
   char              emptystring = '\0';
-  cab_UBYTE         buf[64], buf2[256] /* for modification by call back fn */ ;
+  cab_UBYTE         buf[64] /* for modification by call back fn */ ;
   BOOL              initialcab = TRUE;
   struct fdi_folder *fol = NULL, *linkfol = NULL, *firstfol = NULL;
   struct fdi_file   *file = NULL, *linkfile = NULL, *firstfile = NULL;



More information about the wine-patches mailing list