APPROVE COMMIT 21.5
Remove declarations of loop and gcpro variables made redundant by use
of EXTERNAL_LIST_LOOP_2.
Index: modules/ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/modules/ChangeLog,v
retrieving revision 1.46
diff -u -r1.46 ChangeLog
--- modules/ChangeLog 25 Oct 2005 08:32:40 -0000 1.46
+++ modules/ChangeLog 26 Oct 2005 00:19:43 -0000
@@ -0,0 +1,8 @@
+2005-10-22 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ Warning elimination:
+
+ * ldap/eldap.c (Fldap_add): Remove declaration of `current', which
+ is now declared by EXTERNAL_LIST_LOOP_2.
+ (Fldap_modify): Remove redundant variable `gcpro2',
+
Index: modules/ldap/eldap.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/modules/ldap/eldap.c,v
retrieving revision 1.14
diff -u -r1.14 eldap.c
--- modules/ldap/eldap.c 25 Oct 2005 08:32:42 -0000 1.14
+++ modules/ldap/eldap.c 26 Oct 2005 00:19:43 -0000
@@ -619,7 +619,6 @@
int i, j;
Elemcount len;
- Lisp_Object current = Qnil;
Lisp_Object values = Qnil;
struct gcpro gcpro1;
@@ -720,7 +719,7 @@
Elemcount len;
Lisp_Object values = Qnil;
- struct gcpro gcpro1, gcpro2;
+ struct gcpro gcpro1;
/* Do all the parameter checking */
CHECK_LIVE_LDAP (ldap);
--
Graduate School of Systems and Information Engineering University of Tsukuba
http://turnbull.sk.tsukuba.ac.jp/ Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Economics of Information Communication and Computation Systems
Experimental Economics, Microeconomic Theory, Game Theory