Revision: 77973
          http://sourceforge.net/p/brlcad/code/77973
Author:   starseeker
Date:     2020-12-15 21:06:26 +0000 (Tue, 15 Dec 2020)
Log Message:
-----------
Update to latest stepcode

Modified Paths:
--------------
    
brlcad/branches/extbuild/src/other/ext/stepcode/src/clstepcore/complexSupport.h

Modified: 
brlcad/branches/extbuild/src/other/ext/stepcode/src/clstepcore/complexSupport.h
===================================================================
--- 
brlcad/branches/extbuild/src/other/ext/stepcode/src/clstepcore/complexSupport.h 
    2020-12-15 20:25:38 UTC (rev 77972)
+++ 
brlcad/branches/extbuild/src/other/ext/stepcode/src/clstepcore/complexSupport.h 
    2020-12-15 21:06:26 UTC (rev 77973)
@@ -193,22 +193,22 @@
         EntList *firstNot(JoinType);
         EntList *nextNot(JoinType j)
         {
-            return next->firstNot(j);
+            return (next) ? next->firstNot(j) : NULL;
         }
         EntList *firstWanted(MatchType);
         EntList *nextWanted(MatchType mat)
         {
-            return next->firstWanted(mat);
+            return (next) ? next->firstWanted(mat) : NULL;
         }
         EntList *lastNot(JoinType);
         EntList *prevNot(JoinType j)
         {
-            return prev->lastNot(j);
+            return (prev) ? prev->lastNot(j) : NULL;
         }
         EntList *lastWanted(MatchType);
         EntList *prevWanted(MatchType mat)
         {
-            return prev->lastWanted(mat);
+            return (prev) ? prev->lastWanted(mat) : NULL;
         }
 
         JoinType join;
@@ -216,7 +216,8 @@
         {
             return (join != SIMPLE);
         }
-        EntList *next, *prev;
+        EntList *next = NULL;
+        EntList *prev = NULL;
 
     protected:
         MatchType viable;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to