mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
remove unused parameter
This commit is contained in:
parent
7ad59e3e2b
commit
337c36dfd2
2 changed files with 5 additions and 6 deletions
|
@ -154,8 +154,8 @@ CRefMgr::FindOpenGameFor( const char* cookie, const char* connName,
|
|||
__func__ );
|
||||
*alreadyHere = true;
|
||||
found = cref;
|
||||
} else if ( cref->GameOpen( cookie, nPlayersH,
|
||||
false, alreadyHere ) ) {
|
||||
} else if ( cref->GameOpen( cookie, false,
|
||||
alreadyHere ) ) {
|
||||
found = cref;
|
||||
} else {
|
||||
/* drop if we match on connName and it's not
|
||||
|
@ -182,8 +182,8 @@ CRefMgr::FindOpenGameFor( const char* cookie, const char* connName,
|
|||
if ( cref->SeedsBelong( connName ) ) {
|
||||
found = cref;
|
||||
}
|
||||
} else if ( cref->GameOpen( cookie, nPlayersH,
|
||||
true, alreadyHere ) ) {
|
||||
} else if ( cref->GameOpen( cookie, true,
|
||||
alreadyHere ) ) {
|
||||
found = cref;
|
||||
} else if ( cref->HasSocket_locked(socket) ) {
|
||||
logf( XW_LOGINFO, "%s: HasSocket case", __func__);
|
||||
|
|
|
@ -189,8 +189,7 @@ class SafeCref {
|
|||
bool Connect( int socket, HostID srcID, int nPlayersH, int nPlayersS,
|
||||
int seed ) {
|
||||
if ( IsValid() ) {
|
||||
m_cref->_Connect( socket, srcID, nPlayersH, nPlayersS, seed );
|
||||
return true;
|
||||
return m_cref->_Connect( socket, srcID, nPlayersH, nPlayersS, seed );
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue