File gettext-needlessly_init_vars.patch of Package gettext-runtime

Index: gettext-tools/gnulib-lib/gl_array_list.c
===================================================================
--- gettext-tools/gnulib-lib/gl_array_list.c.orig	2010-12-20 18:47:23.871101502 +0100
+++ gettext-tools/gnulib-lib/gl_array_list.c	2010-12-20 18:47:37.666063318 +0100
@@ -454,7 +454,7 @@ gl_array_iterator (gl_list_t list)
   result.count = list->count;
   result.p = list->elements + 0;
   result.q = list->elements + list->count;
-#ifdef lint
+#if defined(lint) || defined(gcc_is_lint)
   result.i = 0;
   result.j = 0;
 #endif
@@ -475,7 +475,7 @@ gl_array_iterator_from_to (gl_list_t lis
   result.count = list->count;
   result.p = list->elements + start_index;
   result.q = list->elements + end_index;
-#ifdef lint
+#if defined(lint) || defined(gcc_is_lint)
   result.i = 0;
   result.j = 0;
 #endif
openSUSE Build Service is sponsored by