add Tilera version stuff in buildscript and removes some redundant codes to avoid...
[IRC.git] / Robust / src / Runtime / SimpleHash.c
index b877a7adcae20a78d0e2c5442465ac70797d942a..5f872e06c1e46bc2cff7d5661c4efedb8e7d3164 100755 (executable)
@@ -66,7 +66,6 @@ int RuntimeHashremovekey(struct RuntimeHash *thisvar, int key) {
   unsigned int hashkey = (unsigned int)key % thisvar->size;
 
   struct RuntimeNode **ptr = &thisvar->bucket[hashkey];
-  int i;
 
   while (*ptr) {
     if ((*ptr)->key == key) {
@@ -98,7 +97,6 @@ int RuntimeHashremove(struct RuntimeHash *thisvar, int key, int data) {
   unsigned int hashkey = (unsigned int)key % thisvar->size;
 
   struct RuntimeNode **ptr = &thisvar->bucket[hashkey];
-  int i;
 
   while (*ptr) {
     if ((*ptr)->key == key && (*ptr)->data == data) {