'j' is also declared at the top level of the function so there is no
need to declare it inside the 'for' loop.
for (p = hmap_first (hmap), i = 0; i < cnt; p = hmap_next (hmap, p), i++)
{
struct element *e = hmap_node_to_element (p);
for (p = hmap_first (hmap), i = 0; i < cnt; p = hmap_next (hmap, p), i++)
{
struct element *e = hmap_node_to_element (p);
check (hmap_node_hash (&e->node) == hash (e->data));
for (j = 0; j < left; j++)
check (hmap_node_hash (&e->node) == hash (e->data));
for (j = 0; j < left; j++)