Wed Aug 2 07:13:18 PDT 2006
- Previous message: [Slony1-commit] By xfade: Silence warnings about uninitialized vars.
- Next message: [Slony1-commit] By xfade: Remove unused vars in slon.c and some code left behind after
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
{
- Previous message: [Slony1-commit] By xfade: Silence warnings about uninitialized vars.
- Next message: [Slony1-commit] By xfade: Remove unused vars in slon.c and some code left behind after
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list