1
0
gettext-runtime/gettext-needlessly_init_vars.patch

23 lines
821 B
Diff
Raw Normal View History

2010-12-21 13:54:03 +01:00
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
2010-12-21 13:54:03 +01:00
@@ -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