]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Initialize a variable (unnecessarily) to avoid a compiler warning.
authordrh <drh@noemail.net>
Sat, 28 Nov 2009 13:46:51 +0000 (13:46 +0000)
committerdrh <drh@noemail.net>
Sat, 28 Nov 2009 13:46:51 +0000 (13:46 +0000)
FossilOrigin-Name: db65fd5913aae4d83d2c2bc243653175be3c3d35

manifest
manifest.uuid
src/vdbetrace.c

index 1aa398398ac91d6ea22920cf1c3d6404161764f7..e1182a5bc00777bbf853e66a9ff92624be9d1676 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,8 @@
-C Fix\sa\sbug\sintroduced\sby\sthe\sfts3\srefactoring\s(segfault\swhen\screating\sa\stable\swith\szero\smodule\sargs).\sAlso\sa\sfix\sto\shandle\san\sOOM\serror.
-D 2009-11-28T12:40:32
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+C Initialize\sa\svariable\s(unnecessarily)\sto\savoid\sa\scompiler\swarning.
+D 2009-11-28T13:46:52
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in c5827ead754ab32b9585487177c93bb00b9497b3
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -216,7 +219,7 @@ F src/vdbeapi.c bb128b819b9ef1a2ce211a36a6cb70a1643fa239
 F src/vdbeaux.c 0981dcb5b933b74ae7bc9bfa7770df5e4da849b3
 F src/vdbeblob.c 84f924700a7a889152aeebef77ca5f4e3875ffb4
 F src/vdbemem.c 1e16e3a16e55f4c3452834f0e041726021aa66e0
-F src/vdbetrace.c d8984b1aa746a3d4852092733811573694e2bec2
+F src/vdbetrace.c 864cef96919323482ebd9986f2132435115e9cc2
 F src/vtab.c 456fc226614569f0e46f216e33265bea268bd917
 F src/walker.c 3112bb3afe1d85dc52317cb1d752055e9a781f8f
 F src/where.c 11b5b00c49d53e767a7eb855bc60790edeca6185
@@ -775,7 +778,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P ca73be44cc2dab5edc48292c467adc8362ddf645
-R 07cb40380182af95ccf713911fe63989
-U dan
-Z d54fff7775225c261880c5e74340ae2b
+P eada284bc10cafcab9beb3473bb0c70b3b4de2f9
+R 87acf1a9d3ff5d757611a22dd3e075e3
+U drh
+Z 179b4156acc3071052b9a653aa102271
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFLESnQoxKgR168RlERAhmAAJ9mDOo95xYTPVvvON42jITcYZk7/QCfdr/k
++pNzb15NPCcKrG7vQsDshIw=
+=6eZn
+-----END PGP SIGNATURE-----
index 70e47bbfd2aba8cc628b343d8a4e520893bc1f4e..f04ec79e3c0cd8e78803899798ef6c5e01b2834c 100644 (file)
@@ -1 +1 @@
-eada284bc10cafcab9beb3473bb0c70b3b4de2f9
\ No newline at end of file
+db65fd5913aae4d83d2c2bc243653175be3c3d35
\ No newline at end of file
index 4da881622251e77f7d2cd34171867e3fbe60e311..0d6b21211ce2e0394f5a35b1eb2969f5a322e612 100644 (file)
@@ -64,7 +64,7 @@ char *sqlite3VdbeExpandSql(
   const char *zRawSql      /* Raw text of the SQL statement */
 ){
   sqlite3 *db;             /* The database connection */
-  int idx;                 /* Index of a host parameter */
+  int idx = 0;             /* Index of a host parameter */
   int nextIndex = 1;       /* Index of next ? host parameter */
   int n;                   /* Length of a token prefix */
   int nToken;              /* Length of the parameter token */