Index: uspace/lib/c/generic/adt/hash_table.c
===================================================================
--- uspace/lib/c/generic/adt/hash_table.c	(revision bfbdfee1161eee4a92a49ebff10fd01816fb23ea)
+++ uspace/lib/c/generic/adt/hash_table.c	(revision e2976bbb4ebc8d239237d89b873dd15b927568ea)
@@ -152,6 +152,4 @@
 	
 	if (keys == h->max_keys) {
-		link_t *cur;
-		
 		/*
 		 * All keys are known, hash_table_find() can be used to find the
@@ -159,5 +157,5 @@
 		 */
 		
-		cur = hash_table_find(h, key);
+		link_t *cur = hash_table_find(h, key);
 		if (cur) {
 			list_remove(cur);
@@ -174,7 +172,6 @@
 	hash_index_t chain;
 	for (chain = 0; chain < h->entries; chain++) {
-		link_t *cur;
-		
-		for (cur = h->entry[chain].head.next; cur != &h->entry[chain].head;
+		for (link_t *cur = h->entry[chain].head.next;
+		    cur != &h->entry[chain].head;
 		    cur = cur->next) {
 			if (h->op->compare(key, keys, cur)) {
