diff options
| author | thorpej <thorpej@NetBSD.org> | 2000-05-14 01:55:05 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2000-05-14 01:55:05 +0000 |
| commit | df29b70d0ef9cf66aac17ef31553c00f7ec18864 (patch) | |
| tree | 99118839698cb22fc7d280212ff9d2988532818d /gnu | |
| parent | 47eb43337fe03b4bdc161489e8ff5f4e9365bf80 (diff) | |
Avoid shadowing a local in users of binhash_link().
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/postfix/util/binhash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/dist/postfix/util/binhash.c b/gnu/dist/postfix/util/binhash.c index 8c9ca7dab22..8e9a8e60865 100644 --- a/gnu/dist/postfix/util/binhash.c +++ b/gnu/dist/postfix/util/binhash.c @@ -146,11 +146,11 @@ static unsigned binhash_hash(const char *key, int len, unsigned size) /* binhash_link - insert element into table */ #define binhash_link(table, elm) { \ - BINHASH_INFO **h = table->data + binhash_hash(elm->key, elm->key_len, table->size);\ + BINHASH_INFO **_h = table->data + binhash_hash(elm->key, elm->key_len, table->size);\ elm->prev = 0; \ - if ((elm->next = *h) != 0) \ - (*h)->prev = elm; \ - *h = elm; \ + if ((elm->next = *_h) != 0) \ + (*_h)->prev = elm; \ + *_h = elm; \ table->used++; \ } |
