get some space for optional fs's
[IRC.git] / Robust / src / Runtime / ObjectHash.c
index de85a533a680fcf536285a3a098ba2b39f6cbc33..b3a42abe8197569c9eacb44b3a5ede92c816bf88 100755 (executable)
@@ -206,20 +206,6 @@ int ObjectHashcount(struct ObjectHash *thisvar,int key) {
     return count;
 }
 
-struct ObjectHash * ObjectHashimageSet(struct ObjectHash *thisvar, int key) {
-  struct ObjectHash * newset=allocateObjectHash(2*ObjectHashcount(thisvar,key)+4);
-  unsigned int hashkey = (unsigned int)key % thisvar->size;
-
-  struct ObjectNode *ptr = thisvar->bucket[hashkey];
-  while (ptr) {
-    if (ptr->key == key) {
-        ObjectHashadd(newset,ptr->data,ptr->data);
-    }
-    ptr = ptr->next;
-  }
-  return newset;
-}
-
 int ObjectHashget(struct ObjectHash *thisvar, int key, int *data, int *data2) {
     unsigned int hashkey = (unsigned int)key % thisvar->size;