Changeset 11103 for code/trunk/src/libraries/network
- Timestamp:
- Jan 31, 2016, 8:43:10 PM (9 years ago)
- Location:
- code/trunk/src/libraries/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/network/Server.cc
r11071 r11103 372 372 b = w->send( static_cast<Host*>(this) ); 373 373 assert(b); 374 (void)b; // avoid compiler warning 374 375 // packet::Gamestate *g = new packet::Gamestate(); 375 376 // g->setPeerID(clientID); -
code/trunk/src/libraries/network/synchronisable/Synchronisable.cc
r11071 r11103 459 459 } 460 460 assert(unregistered_nonexistent_variable == false); 461 (void)unregistered_nonexistent_variable; // avoid compiler warning 461 462 462 463 it = stringList_.begin(); … … 472 473 ++it; 473 474 } 474 unregistered_nonexistent_variable = true; 475 assert(unregistered_nonexistent_variable == false); //if we reach this point something went wrong: 475 assert(false); //if we reach this point something went wrong: 476 476 // the variable has not been registered before 477 477 }
Note: See TracChangeset
for help on using the changeset viewer.