[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...
Timo Kreuzer
timo.kreuzer at web.de
Mon Dec 13 16:10:30 UTC 2010
Am 13.12.2010 12:39, schrieb Ged Murphy:
> 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.
Shouldn't ASSERT() be defined to nothing on release builds?
More information about the Ros-dev
mailing list