mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
move declaration to start of block
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: symtab.c,v 1.31 2011/11/30 04:27:17 each Exp $ */
|
/* $Id: symtab.c,v 1.32 2011/11/30 06:06:33 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -206,9 +206,10 @@ grow_table(isc_symtab_t *symtab) {
|
|||||||
elt_t *elt, *nelt;
|
elt_t *elt, *nelt;
|
||||||
|
|
||||||
for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
|
for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
|
||||||
nelt = NEXT(elt, link);
|
|
||||||
unsigned int hv;
|
unsigned int hv;
|
||||||
|
|
||||||
|
nelt = NEXT(elt, link);
|
||||||
|
|
||||||
UNLINK(symtab->table[i], elt, link);
|
UNLINK(symtab->table[i], elt, link);
|
||||||
hv = hash(elt->key, symtab->case_sensitive);
|
hv = hash(elt->key, symtab->case_sensitive);
|
||||||
APPEND(newtable[hv % newsize], elt, link);
|
APPEND(newtable[hv % newsize], elt, link);
|
||||||
|
Reference in New Issue
Block a user