summaryrefslogtreecommitdiff
path: root/lib/gl_anytree_oset.h
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2006-09-22 17:15:05 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2006-09-22 17:15:05 +0000
commita42a50dc6f5c48c557920c21c8f05d31f26fea73 (patch)
tree83481ec801790f9df9acdeb6997ed47f8c42d72d /lib/gl_anytree_oset.h
parent8b50a885edd427a591bbe9a422c1e553584f5e01 (diff)
downloadgnulib-a42a50dc6f5c48c557920c21c8f05d31f26fea73.tar.gz
* gl_anylinked_list2.h [lint] (gl_linked_iterator)
(gl_linked_iterator_from_to): Initialize struct completely. * gl_anytree_list2.h [lint] (gl_tree_iterator): Likewise. (gl_tree_iterator_from_to): Likewise * gl_anytree_oset.h [lint] (gl_tree_iterator): Likewise. * gl_array_list.c [lint] (gl_array_iterator) (gl_array_iterator_from_to): Likewise. * gl_array_oset.c [lint] (gl_array_iterator): Likewise. * gl_carray_list.c [lint] (gl_carray_iterator) (gl_carray_iterator_from_to): Likewise.
Diffstat (limited to 'lib/gl_anytree_oset.h')
-rw-r--r--lib/gl_anytree_oset.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gl_anytree_oset.h b/lib/gl_anytree_oset.h
index 84286bdd80..6ac07e4625 100644
--- a/lib/gl_anytree_oset.h
+++ b/lib/gl_anytree_oset.h
@@ -211,6 +211,11 @@ gl_tree_iterator (gl_oset_t set)
result.p = node;
/* End point is past the rightmost node. */
result.q = NULL;
+#ifdef lint
+ result.i = 0;
+ result.j = 0;
+ result.count = 0;
+#endif
return result;
}