Thomas Briggs very rightly pointed out the following
and I agree with every word he said. Why assert fail
on data that isn't even relevant during normal
function execution? It simply says that the assert
doesn't belong there!!

Bharadwaj

Thomas Briggs:
> FWIW, I'm have to disagree. Why is the code checking data in asserts
> that isn't used during the normal execution of the program? Debug-only code
> should help detect potential problems in the release version; having debug
> code which doesn't at all apply to the release version is wasted effort.
>
> -Tom

In response to the following writing of sam th:
> >The unused function parameter and variable warnings are NOT coming from
> >unused variables. They are coming from variables that are only used in
> >UT_ASSERT for the most part. However, the compiler is not detecting this,
> >and thinks that they are unused. This is not a problem with our code.