* gl_anylinked_list2.h [lint] (gl_linked_iterator)
[pspp] / lib / gl_anytree_list2.h
index 19ecae5f706d2ee1aa1e5196b740dd00491cbc7b..a0154596d7957cbcc8c0ae6b6734c15b22d15b6b 100644 (file)
@@ -349,6 +349,11 @@ gl_tree_iterator (gl_list_t list)
   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;
 }
@@ -368,6 +373,11 @@ gl_tree_iterator_from_to (gl_list_t list, size_t start_index, size_t end_index)
   result.p = (start_index < count ? node_at (list->root, start_index) : NULL);
   /* End point is the node at position end_index.  */
   result.q = (end_index < count ? node_at (list->root, end_index) : NULL);
+#ifdef lint
+  result.i = 0;
+  result.j = 0;
+  result.count = 0;
+#endif
 
   return result;
 }