IntEngGradientFill() fix ASSERT statements
authorRoyce Mitchell III <royce3@ev1.net>
Fri, 24 Dec 2004 06:00:53 +0000 (06:00 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Fri, 24 Dec 2004 06:00:53 +0000 (06:00 +0000)
svn path=/trunk/; revision=12312

reactos/subsys/win32k/eng/gradient.c

index 3b790da..fcefa71 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: gradient.c,v 1.14 2004/12/24 01:32:38 ion Exp $
+/* $Id: gradient.c,v 1.15 2004/12/24 06:00:53 royce Exp $
  * 
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -528,8 +528,9 @@ IntEngGradientFill(
     IN ULONG  ulMode)
 {
   BOOL Ret;
-  SURFOBJ *psoDest = NULL;
-  ASSERT(pboDest && psoDest && pco);
+  SURFOBJ *psoDest;
+  ASSERT(pboDest);
+  ASSERT(pco);
 
   psoDest = &pboDest->SurfObj;
   ASSERT(psoDest);