From 64cd5d4b1de8cee52858a2a2c90b5e1c0c1cd0c5 Mon Sep 17 00:00:00 2001 From: schendel Date: Thu, 23 Aug 2001 14:44:14 +0000 Subject: [PATCH] remove compiler warning --- paradynd/src/main.C | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/paradynd/src/main.C b/paradynd/src/main.C index dd91dfe..5086985 100644 --- a/paradynd/src/main.C +++ b/paradynd/src/main.C @@ -39,7 +39,7 @@ * incur to third parties resulting from your use of Paradyn. */ -// $Id: main.C,v 1.95 2001/05/24 18:38:45 wxd Exp $ +// $Id: main.C,v 1.96 2001/08/23 14:44:14 schendel Exp $ #include "common/h/headers.h" #include "pdutil/h/makenan.h" @@ -417,9 +417,17 @@ InitRemotelyStarted( char* argv[], const string& pd_machine, bool report ) static void -InitLocallyStarted( char* argv[], const string& pd_machine ) -{ +InitLocallyStarted( char* [] #if PARADYND_PVM + argv +#endif + , const string& +#ifdef PARADYND_PVM + pd_machine +#endif +) +{ +#ifdef PARADYND_PVM // check if we are designated to monitor a PVM application if( pvm_running && !PDYN_initForPVM( argv, pd_machine, pd_known_socket_portnum, 1 )) -- 1.8.3.1