Parcourir la source

compiler warning

David Rose il y a 18 ans
Parent
commit
5b19635da9
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      panda/src/putil/simpleHashMap.I

+ 1 - 0
panda/src/putil/simpleHashMap.I

@@ -167,6 +167,7 @@ store(const Key &key, const Value &data) {
   // Shouldn't get here unless _num_entries == _table_size, which
   // Shouldn't get here unless _num_entries == _table_size, which
   // shouldn't be possible due to consider_expand_table().
   // shouldn't be possible due to consider_expand_table().
   nassertr(false, _table[0]._data);
   nassertr(false, _table[0]._data);
+  return _table[0]._data;  // To satisfy compiler
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////