Hi!
Older C compilers prefer to have variable definitions at the beginning
of a block ...
norbert.
ChangeLog addition:
2004-12-06 Norbert Koch <viteno(a)xemacs.org>
* rangetab.c (rangetab_instantiate): Fix build for old C
compilers.
21.5-src source patch:
Diff command: cvs -f -z3 -q diff -u -N
Files affected: rangetab.c
Index: rangetab.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/rangetab.c,v
retrieving revision 1.18
diff -u -r1.18 rangetab.c
--- rangetab.c 6 Dec 2004 03:52:17 -0000 1.18
+++ rangetab.c 6 Dec 2004 22:05:41 -0000
@@ -645,7 +645,7 @@
static Lisp_Object
rangetab_instantiate (Lisp_Object plist)
{
- Lisp_Object data = Qnil, type = Qnil;
+ Lisp_Object data = Qnil, type = Qnil, rangetab = Qnil;
PROPERTY_LIST_LOOP_3 (key, value, plist)
{
@@ -655,7 +655,7 @@
abort ();
}
- Lisp_Object rangetab = Fmake_range_table (type);
+ rangetab = Fmake_range_table (type);
{
PROPERTY_LIST_LOOP_3 (range, val, data)