corrected erroneous return type in test hash table. made search_text skip binary...
[feisty_meow.git] / nucleus / library / tests_structures / test_int_hash.cpp
index 1c888daae89523dfcac00b34f38436fbf3de1247..7fb8c17d6aa21dcefbc5e90febef06a091fd0e5b 100644 (file)
@@ -102,7 +102,7 @@ public:
 
   data_shuttle()
   : snacky_string(string_manipulation::make_random_name()),
-    chunk(chao.inclusive(100, 10000)) {}
+    chunk(chao.inclusive(100, 10000)), food_bar(0), hungry(false) {}
 };
 
 //////////////
@@ -252,6 +252,7 @@ int test_int_hash::unused_random_id()
     int checking = raw_random_id();
     if (!_keys_in_use.member(checking)) return checking;  // got one.
   } // keep going until we find unused id.
+  return -1;
 }
 
 bool test_int_hash::test_add()