4 Replies Latest reply on Oct 1, 2010 7:31 AM by spectral

    BUG : No compilation error !!

    spectral

      With the following code

      float myVal(int istrue)
      {
         if (istrue) othermethod();

      There is NO return value... it compile correctly !!! and the returned value is 0 !

       

      NB : also I do this :

      float d = 0.f;
      float t = 125.f / d;

      -> t is equal to 0 !!!!