Skip to content

Commit

Permalink
Remove unused variable warning (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored Feb 23, 2024
1 parent 0bbd54d commit fb104b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hdf/src/mcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,6 @@ mcache_close(MCACHE *mp /* IN: MCACHE cookie */)
{
L_ELEM *lp = NULL;
BKT *bp = NULL; /* bucket element */
intn nelem = 0;
intn ret_value = RET_SUCCESS;
intn entry; /* index into hash table */

Expand All @@ -521,7 +520,6 @@ mcache_close(MCACHE *mp /* IN: MCACHE cookie */)
while ((lp = mp->lhqh[entry].cqh_first) != (void *)&mp->lhqh[entry]) {
H4_CIRCLEQ_REMOVE(&mp->lhqh[entry], mp->lhqh[entry].cqh_first, hl);
free(lp);
nelem++;
}
} /* end for entry */

Expand Down

0 comments on commit fb104b8

Please sign in to comment.