comment out unused param/variable

This commit is contained in:
Eric House 2012-10-19 17:53:15 -07:00
parent 6c34f43df7
commit 0f9500cea3
2 changed files with 6 additions and 6 deletions

View file

@ -1064,7 +1064,7 @@ main( int argc, char** argv )
int nWorkerThreads = 0;
char* conffile = NULL;
const char* serverName = NULL;
const char* idFileName = NULL;
// const char* idFileName = NULL;
const char* logFile = NULL;
bool doDaemon = true;
bool doFork = true;
@ -1079,7 +1079,7 @@ main( int argc, char** argv )
first. */
for ( ; ; ) {
int opt = getopt(argc, argv, "h?c:p:n:i:f:l:t:s:w:"
int opt = getopt(argc, argv, "h?c:p:n:f:l:t:s:w:"
"DF" );
if ( opt == -1 ) {
@ -1115,9 +1115,9 @@ main( int argc, char** argv )
case 'f':
conffile = optarg;
break;
case 'i':
idFileName = optarg;
break;
// case 'i':
// idFileName = optarg;
// break;
case 'l':
logFile = optarg;
break;

View file

@ -86,7 +86,7 @@ do_start() {
fi
echo "starting..." | tee -a $LOGFILE
echo "running $XWRELAY $@ -f $CONFFILE -s $CSSFILE" | tee -a $LOGFILE
$XWRELAY $@ -f $CONFFILE -i $IDFILE -s $CSSFILE &
$XWRELAY $@ -f $CONFFILE -s $CSSFILE &
NEWPID=$!
echo -n $NEWPID > $PIDFILE
sleep 1