diff options
author | Karl Berry <karl@freefriends.org> | 2009-06-17 23:06:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-06-17 23:06:17 +0000 |
commit | 0e8507b3ae5ce3950803002c45ba2ebfbde976a8 (patch) | |
tree | b4665b8fea4199ee76afb07f45f225736f9393ae /Build/source | |
parent | c7fa66120e55a508b15fc258c4886bf91bf6c9ef (diff) |
initialize variable, change version
git-svn-id: svn://tug.org/texlive/trunk@13794 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/makeindexk/ChangeLog | 11 | ||||
-rw-r--r-- | Build/source/texk/makeindexk/genind.c | 3 | ||||
-rw-r--r-- | Build/source/texk/makeindexk/mkind.h | 2 |
3 files changed, 12 insertions, 4 deletions
diff --git a/Build/source/texk/makeindexk/ChangeLog b/Build/source/texk/makeindexk/ChangeLog index 77314478b2b..377baa8d108 100644 --- a/Build/source/texk/makeindexk/ChangeLog +++ b/Build/source/texk/makeindexk/ChangeLog @@ -1,8 +1,17 @@ +2009-06-18 Karl Berry <karl@tug.org> + + * mkind.h (VERSION) [USE_KPATHSEA]: use TeX Live 2009 in version + ident. + + * genind.c (new_entry): initialize let to -1. It will be + reassigned if it is actually used, as far as I can make out the + overcomplex condition. + 2009-06-12 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am (AM_CFLAGS): enable compiler warnings. - * genind.c (gen_ind): FIXME: `let' may be used uninitialized , + * genind.c (new_entry): FIXME: `let' may be used uninitialized , probably a bug. Avoid compiler warnings. diff --git a/Build/source/texk/makeindexk/genind.c b/Build/source/texk/makeindexk/genind.c index 8c9aef2b434..44e364871a0 100644 --- a/Build/source/texk/makeindexk/genind.c +++ b/Build/source/texk/makeindexk/genind.c @@ -221,7 +221,7 @@ char *term; static void new_entry(VOID_ARG) { - int let; + int let = -1; FIELD_PTR ptr; #ifdef HAVE_SETLOCALE char *prev_locale; @@ -251,7 +251,6 @@ new_entry(VOID_ARG) PUT(group_skip); ind_lc += skiplen; /* beginning of a new letter? */ - /* FIXME: let may be uninitialized. Probably a BUG. */ put_header(let); make_item(NIL); } else diff --git a/Build/source/texk/makeindexk/mkind.h b/Build/source/texk/makeindexk/mkind.h index bff29ff099c..f4c3e2e0f72 100644 --- a/Build/source/texk/makeindexk/mkind.h +++ b/Build/source/texk/makeindexk/mkind.h @@ -358,7 +358,7 @@ ensuing. /*====================================================================*/ #if USE_KPATHSEA -#define VERSION "version 2.15 [20-Nov-2007] (kpathsea + Thai support)" +#define VERSION "version 2.15 [TeX Live 2009] (kpathsea + Thai support)" #else #define VERSION "version 2.15 [20-Nov-2007] (with Thai support)" #endif |