Index: trunk/psLib/test/math/tap_psPolyFit2D.c
===================================================================
--- trunk/psLib/test/math/tap_psPolyFit2D.c	(revision 10820)
+++ trunk/psLib/test/math/tap_psPolyFit2D.c	(revision 10848)
@@ -279,5 +279,5 @@
     }
 
-    psPolynomial2D *rc = NULL;
+    bool rc = false;
     if (flags & TS00_CLIP_FIT) {
         rc = psVectorClipFitPolynomial2D(myPoly, stats, mask, MASK_VALUE, f, fErr, x, y);
@@ -286,5 +286,5 @@
     }
 
-    if (rc == NULL) {
+    if (!rc) {
         if (expectedRC == true) {
             diag("TEST ERROR: the 2D polynomial fitting function returned NULL.\n");
