mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
comment out unused param/variable
This commit is contained in:
parent
6c34f43df7
commit
0f9500cea3
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue