Check-in [649dd8a6af]
Not logged in
Overview

SHA1 Hash:649dd8a6afa59ab7815dace7fb1c30d74d83a8af
Date: 2008-02-03 16:35:12
User: stephan
Comment:got rid of '... might be used initialized' warnings
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/cgi.c from [a795dc49f1] to [651d100b98].

@@ -268,11 +268,11 @@
 
 /*
 ** Do a normal HTTP reply
 */
 void cgi_reply(void){
-  int total_size;
+  int total_size = 0;
   if( iReplyStatus<=0 ){
     iReplyStatus = 200;
     zReplyStatus = "OK";
   }
 

Modified src/info.c from [abc907adcd] to [e507d3889f].

@@ -746,11 +746,11 @@
 ** Figure out what the UUID is an jump to it.  If there is ambiguity,
 ** draw a page and let the user select the interpretation.
 */
 void info_page(void){
   const char *zName;
-  int rc, nName, cnt;
+  int rc = 0, nName, cnt;
   Stmt q;
 
   zName = P("name");
   if( zName==0 ) cgi_redirect("index");
   nName = strlen(zName);