[ros-dev] Re: [ros-diffs] [fireball] 20041: Fix for bug #932 (should go into 0.2.9 also)

Thomas Weidenmueller w3seek at reactos.com
Sat Dec 10 20:40:37 CET 2005


fireball at svn.reactos.com wrote:
> +		if (Pdo)
> +			IoInvalidateDeviceRelations(Pdo, BusRelations);
> +		else
> +			DPRINT1("Pdo == NULL, not sending IoInvalidateDeviceRelations()!");

This is going to be a problem if DPRINT1 isn't expanded. You should
create a {...} block for the else branch.

- Thomas


More information about the Ros-dev mailing list