From: wmontaz Date: Wed, 15 Aug 2007 00:45:44 +0000 (+0000) Subject: just two things I forgot to remove X-Git-Tag: preEdgeChange~478 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf0a83a5f5a9b230786c8966e40ad4b4dee74f08;p=IRC.git just two things I forgot to remove --- 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 *);