]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
get rid of remaining GCC 4.3 -Wall compiler warnings by initializing two variables...
authorrse <rse@noemail.net>
Thu, 20 Sep 2007 11:34:17 +0000 (11:34 +0000)
committerrse <rse@noemail.net>
Thu, 20 Sep 2007 11:34:17 +0000 (11:34 +0000)
FossilOrigin-Name: d748694f8d9b14d98b6fe7ceb404754692761705

manifest
manifest.uuid
tool/lemon.c

index 917b5c85d1d8875f38e0483142de585f429c70a9..a756e8651f401d1ea3fb93c54af8374e62d7eaa5 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C fix\stypo\sin\scomment\s(CVS\s4438)
-D 2007-09-20T11:32:18
+C get\srid\sof\sremaining\sGCC\s4.3\s-Wall\scompiler\swarnings\sby\sinitializing\stwo\svariables\sand\sone\sstructure\sproperly\s(although\sthe\scode\spath\swas\salready\srather\ssafe)\s(CVS\s4439)
+D 2007-09-20T11:34:18
 F Makefile.in cbfb898945536a8f9ea8b897e1586dd1fdbcc5db
 F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -503,7 +503,7 @@ F test/where5.test fdf66f96d29a064b63eb543e28da4dfdccd81ad2
 F test/zeroblob.test 7d1854ea79d048e023e5f2e38106a7e99a17435c
 F tool/diffdb.c 7524b1b5df217c20cd0431f6789851a4e0cb191b
 F tool/fragck.tcl 5265a95126abcf6ab357f7efa544787e5963f439
-F tool/lemon.c 0ab4cca47950da4dc04cf957db0c0ed54b464aa9
+F tool/lemon.c 1f8c0ee267cd8224bb6c979ca3b7cf36299c4c78
 F tool/lempar.c 8f998bf8d08e2123149c2cc5d0597cd5d5d1abdd
 F tool/memleak.awk 4e7690a51bf3ed757e611273d43fe3f65b510133
 F tool/memleak2.awk 9cc20c8e8f3c675efac71ea0721ee6874a1566e8
@@ -580,7 +580,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P 27fe1288336665c4d47c5d7ddcbeacc451ec4a9d
-R 64f1097aed00a79a87dd233f0bca675a
+P c2ac43a4ef674c0202d5bd1ec57fc25c89d0554e
+R b948484588679e72e10618f1789eb46d
 U rse
-Z 6f6d5df99d60b533b39077f06f479aff
+Z 4b5325865a92adc308765583c725dbd7
index 0e7eb3e7050b89779aea1bafc382773aa59855f0..0ce38afcb66e4d5a8ac839c1382548e1f52f5ed4 100644 (file)
@@ -1 +1 @@
-c2ac43a4ef674c0202d5bd1ec57fc25c89d0554e
\ No newline at end of file
+d748694f8d9b14d98b6fe7ceb404754692761705
\ No newline at end of file
index dc3950a74ab82420f9809abd40488b8c5326c5dd..0a5ce88732759e431735b978af7253b8f68f8e04 100644 (file)
@@ -2388,9 +2388,9 @@ to follow the previous rule.");
 static void preprocess_input(char *z){
   int i, j, k, n;
   int exclude = 0;
-  int start;
+  int start = 0;
   int lineno = 1;
-  int start_lineno;
+  int start_lineno = 1;
   for(i=0; z[i]; i++){
     if( z[i]=='\n' ) lineno++;
     if( z[i]!='%' || (i>0 && z[i-1]!='\n') ) continue;
@@ -2448,6 +2448,7 @@ struct lemon *gp;
   char *cp, *nextcp;
   int startline = 0;
 
+  memset(&ps, '\0', sizeof(ps));
   ps.gp = gp;
   ps.filename = gp->filename;
   ps.errorcnt = 0;