[ros-dev] [ros-diffs] [pschweitzer] 50021: [NTOSKRNL] Rewritten FsRtlIsDbcsInExpression() using FsRtlIsNameInExpression() pattern. This fixes all failing tests from kmtest.sys and make this function definitely tastier t...

Ged Murphy gedmurphy at gmail.com
Mon Dec 13 11:39:27 UTC 2010


pschweitzer at svn.reactos.org wrote:

>
>     ASSERT(Name->Length);
>     ASSERT(Expression->Length);
>     ASSERT(!FsRtlDoesDbcsContainWildCards(Name));
 
It'd be preferable to wrap that last ASSERT so it isn't compiled into release builds.
Adding functions into asserts adds overhead on release builds as they're called for no reason.

Ged.






More information about the Ros-dev mailing list