Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2009, 10:20:37 PM (14 years ago)
Author:
rgrieder
Message:

Fixed at least 8 unitialised value problems though not all of them are problematic. Still, the values are being used and some condition depends on it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/ConfigValueContainer.h

    r5738 r6218  
    146146                if ((this->callback_ && object) || this->bContainerIsNew_)
    147147                {
    148                     if (this->bContainerIsNew_)
    149                         this->bContainerIsNew_ = false;
    150 
    151148                    T temp = *value;
    152149                    this->value_.getValue(value);
    153                     if ((*value) != temp)
     150                    if (this->bContainerIsNew_ || (*value) != temp)
    154151                    {
    155152                        if (this->callback_ && object)
     
    158155                            this->bDoInitialCallback_ = true;
    159156                    }
     157
     158                    if (this->bContainerIsNew_)
     159                        this->bContainerIsNew_ = false;
    160160                }
    161161                else
Note: See TracChangeset for help on using the changeset viewer.