Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 22, 2008, 8:12:32 PM (15 years ago)
Author:
rgrieder
Message:

Removed two gcc warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/network/packet/Packet.cc

    r2171 r2524  
    165165  assert(ClientInformation::findClient(&peer->address)->getID() != (unsigned int)-2 || !Host::isServer());
    166166  unsigned int clientID = ClientInformation::findClient(&peer->address)->getID();
    167   Packet *p;
     167  Packet *p = 0;
    168168  COUT(5) << "packet type: " << *(ENUM::Type *)&data[_PACKETID] << std::endl;
    169169  switch( *(ENUM::Type *)(data + _PACKETID) )
Note: See TracChangeset for help on using the changeset viewer.