Fri Aug 4 13:40:19 PDT 2006
- Previous message: [Slony1-commit] By xfade: Fix bug in checking for version 7.2 or lower found by Steve
- Next message: [Slony1-commit] By cbbrowne: variable signo had a code path where it wasn't assigned;
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Eliminate warnings from scanner.c
- Remove disused variable
- Make sure all vars initialized
Modified Files:
--------------
slony1-engine/src/parsestatements:
scanner.c (r1.2 -> r1.3)
-------------- next part --------------
Index: scanner.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/parsestatements/scanner.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lsrc/parsestatements/scanner.c -Lsrc/parsestatements/scanner.c -u -w -r1.2 -r1.3
--- src/parsestatements/scanner.c
+++ src/parsestatements/scanner.c
@@ -9,7 +9,7 @@
int bpos;
enum quote_states state;
char cchar;
- int d1start, d1end, d2start, d2end, d1stemp, j;
+ int d1start, d1end, d2start, d2end, d1stemp;
int statements;
/* Initialize */
@@ -17,6 +17,9 @@
statements = 0;
bquote = 0;
bpos = 0; /* Location of last backquote */
+ d1start = 0;
+ d2start = 0;
+ d1end = 0;
state = Q_NORMAL_STATE;
while (state != Q_DONE) {
- Previous message: [Slony1-commit] By xfade: Fix bug in checking for version 7.2 or lower found by Steve
- Next message: [Slony1-commit] By cbbrowne: variable signo had a code path where it wasn't assigned;
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list