[haiku-commits] Re: haiku: hrev43697 - in src: servers/media_addon servers/media kits/media

  • From: Fredrik Modèen <fredrik@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 29 Jan 2012 00:46:22 +0100 (CET)

> On Sat, Jan 28, 2012 at 3:09 PM,  <fredrik@xxxxxxxxx> wrote:
>>  * Help with ASSERT(flavorID == testFlavorID) would be nice, don't know
>> what ASSERT do.
>
> An ASSERT() is supposed to test a boolean expression and if it is
> false, crash into the debugger intentionally. It is used while
> debugging to test conditions that should *never* happen.
Thanks then I know :)

> Maybe that's not what you were asking :)
Yes and no :) didn't know what ASSERT did. In this case. If flavorID are
not the same as testFlaavorID it will crach the media server :-)


-- 
MVH
Fredrik Modèen


Other related posts: