Revision: 77944
http://sourceforge.net/p/brlcad/code/77944
Author: starseeker
Date: 2020-12-07 16:55:49 +0000 (Mon, 07 Dec 2020)
Log Message:
-----------
Initialize
Modified Paths:
--------------
brlcad/trunk/src/libbg/spsr/Octree.inl
Modified: brlcad/trunk/src/libbg/spsr/Octree.inl
===================================================================
--- brlcad/trunk/src/libbg/spsr/Octree.inl 2020-12-07 16:42:05 UTC (rev
77943)
+++ brlcad/trunk/src/libbg/spsr/Octree.inl 2020-12-07 16:55:49 UTC (rev
77944)
@@ -188,7 +188,8 @@
int OctNode< NodeData >::maxDepth(void) const{
if(!children){return 0;}
else{
- int c,d;
+ int c = 0;
+ int d = 0;
for(int i=0;i<Cube::CORNERS;i++){
d=children[i].maxDepth();
if(!i || d>c){c=d;}
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