Browse Source

pgraphnodes: Remove unused variable

rdb 5 years ago
parent
commit
c8a35641c1
1 changed files with 0 additions and 2 deletions
  1. 0 2
      panda/src/pgraphnodes/lodNode.cxx

+ 0 - 2
panda/src/pgraphnodes/lodNode.cxx

@@ -190,8 +190,6 @@ cull_callback(CullTraverser *trav, CullTraverserData &data) {
     }
 
     for (int index = 0; index < num_children; ++index) {
-      const Switch &sw = cdata->_switch_vector[index];
-
       CPT(InstanceList) instances = data._instances->without(in_range[index]);
       if (!instances->empty()) {
         // At least one instance is visible in this switch level.