Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this a bug in code?
06-03-2011, 05:59 PM,
#7
 
Code:
assert(0);
   SOUNDFILTER * nullfilt = NULL; //Theese 2 last lines!
   return *nullfilt;
The failing assert says that we should never get there, makes the following code unreachable(in the debug build). It is still a hack.
Reply


Messages In This Thread
Is this a bug in code? - by antoniovazquez - 06-03-2011, 07:40 AM
[No subject] - by NaN - 06-03-2011, 05:08 PM
[No subject] - by antoniovazquez - 06-03-2011, 05:18 PM
[No subject] - by antoniovazquez - 06-03-2011, 05:41 PM
[No subject] - by NaN - 06-03-2011, 05:47 PM
[No subject] - by antoniovazquez - 06-03-2011, 05:51 PM
[No subject] - by NaN - 06-03-2011, 05:59 PM
[No subject] - by antoniovazquez - 06-03-2011, 06:04 PM
[No subject] - by NaN - 06-03-2011, 06:15 PM
[No subject] - by antoniovazquez - 06-03-2011, 06:27 PM
Re: Is this a bug in code? - by antoniovazquez - 06-05-2011, 06:37 AM
[No subject] - by NaN - 06-05-2011, 07:22 AM
[No subject] - by antoniovazquez - 06-05-2011, 07:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)