Przeglądaj źródła

compiler warning

David Rose 18 lat temu
rodzic
commit
701baa9f31
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      panda/src/pgraph/shaderAttrib.cxx

+ 3 - 0
panda/src/pgraph/shaderAttrib.cxx

@@ -278,6 +278,9 @@ get_shader_input_nodepath(InternalName *id) const {
     }
     }
     return p->get_nodepath();
     return p->get_nodepath();
   }
   }
+
+  // Satisfy compiler.
+  return resfail;
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////