Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 26, 2011, 6:22:13 PM (13 years ago)
Author:
dafrick
Message:

Removing some unused variables and taking care of some other warnings (NULL as argument to non-pointer and depricated use of COUT).

Location:
code/trunk/src/libraries/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/network/MasterServer.cc

    r8937 r8952  
    8787
    8888    /* force-disconnect the server */ 
    89     enet_peer_disconnect( shandle.result.peer, NULL );
     89    enet_peer_disconnect( shandle.result.peer, 0 );
    9090
    9191    /* actually remove the entry from the server list by address */
  • code/trunk/src/libraries/network/packet/Gamestate.cc

    r8858 r8952  
    532532    assert(origHeader.getDataSize() < 500);
    533533   
    534     bool diffedObject = false;
    535534    if( findObject(baseDataPtr, baseDataEnd, origHeader) )
    536535    {
     
    543542//         orxout(verbose, context::packets) << "diffing object in order: " << Synchronisable::getSynchronisable(origHeader.getObjectID())->getIdentifier()->getName() << endl;
    544543        diffObject(destDataPtr, origDataPtr, baseDataPtr, origHeader, sizesIt);
    545         diffedObject = true;
    546544      }
    547545      else
     
    567565//           orxout(verbose, context::packets) << "diffing object out of order: " << Synchronisable::getSynchronisable(origHeader.getObjectID())->getIdentifier()->getName() << endl;
    568566          diffObject(destDataPtr, origDataPtr, baseDataPtr, origHeader, sizesIt);
    569           diffedObject = true;
    570567        }
    571568        else
Note: See TracChangeset for help on using the changeset viewer.