Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 31, 2016, 8:43:10 PM (8 years ago)
Author:
landauf
Message:

fixed warnings (release build).
fixed error in GravityBombField

File:
1 edited

Legend:

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

    r11071 r11103  
    459459    }
    460460    assert(unregistered_nonexistent_variable == false);
     461    (void)unregistered_nonexistent_variable; // avoid compiler warning
    461462   
    462463    it = stringList_.begin();
     
    472473        ++it;
    473474    }
    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:
    476476    // the variable has not been registered before
    477477  }
Note: See TracChangeset for help on using the changeset viewer.