Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2008, 2:44:46 PM (16 years ago)
Author:
rgrieder
Message:

Removed some always-true statements that gcc issued with the -W option.
There is still a lot of warnings from the Ogre UTFString header about the copy constructor initialisation.
—> We would need to use -W -Wno-unused-parameter -Wno-?. I couldn't find that option directly unfortunately.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/Executor.h

    r1786 r1879  
    198198            inline MultiType getDefaultValue(unsigned int index) const
    199199            {
    200                 if (index >= 0 && index < MAX_FUNCTOR_ARGUMENTS)
     200                if (index < MAX_FUNCTOR_ARGUMENTS)
    201201                    return this->defaultValue_[index];
    202202
     
    207207            inline bool defaultValueSet(unsigned int index) const
    208208            {
    209                 if (index >= 0 && index < MAX_FUNCTOR_ARGUMENTS)
     209                if (index < MAX_FUNCTOR_ARGUMENTS)
    210210                    return this->bAddedDefaultValue_[index];
    211211
Note: See TracChangeset for help on using the changeset viewer.