From bf0a83a5f5a9b230786c8966e40ad4b4dee74f08 Mon Sep 17 00:00:00 2001 From: wmontaz Date: Wed, 15 Aug 2007 00:45:44 +0000 Subject: [PATCH] just two things I forgot to remove --- Robust/src/Runtime/GenericHashtable.c | 2 +- Robust/src/Runtime/runtime.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Robust/src/Runtime/GenericHashtable.c b/Robust/src/Runtime/GenericHashtable.c index 422d03c5..763aa9ca 100755 --- a/Robust/src/Runtime/GenericHashtable.c +++ b/Robust/src/Runtime/GenericHashtable.c @@ -121,7 +121,7 @@ int gencontains(struct genhashtable *ht, void * key) { void genfreekey(struct genhashtable *ht, void * key) { struct genpointerlist * ptr=ht->bins[genhashfunction(ht,key)]; - if(ptr==NULL) printf("otr is null\n"); + if (((ht->comp_function==NULL)&&(ptr->src==key))||((ht->comp_function!=NULL)&&(*ht->comp_function)(ptr->src,key))) { ht->bins[genhashfunction(ht,key)]=ptr->next; diff --git a/Robust/src/Runtime/runtime.h b/Robust/src/Runtime/runtime.h index c3405ec4..bfa83201 100644 --- a/Robust/src/Runtime/runtime.h +++ b/Robust/src/Runtime/runtime.h @@ -97,7 +97,6 @@ struct taskparamdescriptor { struct taskdescriptor * task; int numParameters; void ** parameterArray; - int containsoptional; }; int hashCodetpd(struct taskparamdescriptor *); -- 2.34.1