CVS User Account cvsuser
Wed Aug 2 07:13:18 PDT 2006
Log Message:
-----------
Silence warning about assignment used as truth value in conf-file.l.

Modified Files:
--------------
    slony1-engine/src/slon:
        conf-file.l (r1.3 -> r1.4)

-------------- next part --------------
Index: conf-file.l
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/conf-file.l,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lsrc/slon/conf-file.l -Lsrc/slon/conf-file.l -u -w -r1.3 -r1.4
--- src/slon/conf-file.l
+++ src/slon/conf-file.l
@@ -152,7 +152,7 @@
 	opt_name = NULL;
 	opt_value = opt_name;
 
-	while (token = yylex())
+	while ((token = yylex()))
 	{
 		switch(parse_state)
 		{



More information about the Slony1-commit mailing list