svn commit: lorikeet r303 - in trunk/heimdal/lib/roken: .
abartlet at samba.org
abartlet at samba.org
Fri May 20 07:52:37 GMT 2005
Author: abartlet
Date: 2005-05-20 07:52:36 +0000 (Fri, 20 May 2005)
New Revision: 303
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=303
Log:
older compilers require all variables before statements.
(found by the build farm)
Andrew Bartlett
Modified:
trunk/heimdal/lib/roken/environment.c
Changeset:
Modified: trunk/heimdal/lib/roken/environment.c
===================================================================
--- trunk/heimdal/lib/roken/environment.c 2005-05-20 07:44:38 UTC (rev 302)
+++ trunk/heimdal/lib/roken/environment.c 2005-05-20 07:52:36 UTC (rev 303)
@@ -66,13 +66,14 @@
rk_read_env_file(FILE *F, char ***env, int *assigned)
{
int index = 0;
- *assigned = 0;
int i;
char **l;
char buf[BUFSIZ], *p, *r;
char **tmp;
int ret = 0;
+ *assigned = 0;
+
for(index = 0; *env != NULL && (*env)[index] != NULL; index++);
l = *env;
More information about the samba-cvs
mailing list