diff options
author | Vinson Lee <[email protected]> | 2009-12-23 16:11:10 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-23 16:11:10 -0800 |
commit | 6138145b350d9e58725b43162680b43904497ec8 (patch) | |
tree | 39b35722128a5afd62f1b64a9c0a20db81426e21 /src/glu/sgi/libnurbs/internals | |
parent | 51dcea2aac08ed68b713de0a741c782d51a5b916 (diff) |
glu/sgi: Silence compiler warnings.
Diffstat (limited to 'src/glu/sgi/libnurbs/internals')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/subdivider.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/glu/sgi/libnurbs/internals/subdivider.cc b/src/glu/sgi/libnurbs/internals/subdivider.cc index cc0b5147065..ccddc270ff9 100644 --- a/src/glu/sgi/libnurbs/internals/subdivider.cc +++ b/src/glu/sgi/libnurbs/internals/subdivider.cc @@ -531,16 +531,18 @@ Subdivider::nonSamplingSplit( patchlist.pspec[param].range[1] ) * 0.5; split( source, left, right, param, mid ); Patchlist subpatchlist( patchlist, param, mid ); - if( left.isnonempty() ) + if( left.isnonempty() ) { if( subpatchlist.cullCheck() == CULL_TRIVIAL_REJECT ) freejarcs( left ); else nonSamplingSplit( left, subpatchlist, subdivisions-1, param ); - if( right.isnonempty() ) + } + if( right.isnonempty() ) { if( patchlist.cullCheck() == CULL_TRIVIAL_REJECT ) freejarcs( right ); else nonSamplingSplit( right, patchlist, subdivisions-1, param ); + } } else { // make bbox calls |