From 466b388f9b790bbdb134c001b227ecd235be56a5 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Sat, 29 Nov 2008 18:24:39 +0000 Subject: [PATCH] DEVEL15-pinstall-unused-vars-20081129 LICENSE IPL10 remove unused variables from pinstall for the systems which don't need them --- src/pinstall/install.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pinstall/install.c b/src/pinstall/install.c index ade14507a..cf5fa88ec 100644 --- a/src/pinstall/install.c +++ b/src/pinstall/install.c @@ -487,8 +487,10 @@ main(int argc, char *argv[]) #endif /* AFS_HPUX_ENV */ char pnametmp[1024]; int pnamelen; +#if !defined(AFS_AIX_ENV) && !defined(AFS_HPUX_ENV) && !defined(AFS_SUN5_ENV) && !defined(AFS_DECOSF_ENV) && !defined(AFS_SGI_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN_ENV) && !defined(AFS_OBSD_ENV) && !defined(AFS_NBSD_ENV) afs_int32 newcode; static char diskBuffer[BUFSIZE]; /* must be static to avoid compiler bugs for large stuff */ +#endif char myHostName[100]; struct timeval tvp[2]; int isDir; -- 2.39.5