Revision: 77570
http://sourceforge.net/p/brlcad/code/77570
Author: starseeker
Date: 2020-10-23 02:14:39 +0000 (Fri, 23 Oct 2020)
Log Message:
-----------
Add stepcode change from thirdparty_rework which proved necessary in the Ninja
Multi-Config release mode.
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-10-23 02:08:22 UTC (rev 77569)
+++
brlcad/branches/extbuild/src/other/ext/stepcode/src/clstepcore/complexSupport.h
2020-10-23 02:14:39 UTC (rev 77570)
@@ -208,19 +208,19 @@
// but all we need.
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;
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