Fossil SCM
Fix compiler warnings.
Commit
c932fa47ef58e60d69bf9bd1942b41fd62452c8f
Parent
5c123de48cba763…
1 file changed
+2
-2
+2
-2
| --- src/cgi.c | ||
| +++ src/cgi.c | ||
| @@ -1323,12 +1323,12 @@ | ||
| 1323 | 1323 | */ |
| 1324 | 1324 | void cgi_handle_ssh_http_request(const char *zIpAddr){ |
| 1325 | 1325 | static int nCycles = 0; |
| 1326 | 1326 | static char *zCmd = 0; |
| 1327 | 1327 | char *z, *zToken; |
| 1328 | - const char *zType; | |
| 1329 | - int i, content_length; | |
| 1328 | + const char *zType = 0; | |
| 1329 | + int i, content_length = 0; | |
| 1330 | 1330 | char zLine[2000]; /* A single line of input. */ |
| 1331 | 1331 | |
| 1332 | 1332 | if( zIpAddr ){ |
| 1333 | 1333 | if( nCycles==0 ){ |
| 1334 | 1334 | cgi_setenv("REMOTE_ADDR", zIpAddr); |
| 1335 | 1335 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -1323,12 +1323,12 @@ | |
| 1323 | */ |
| 1324 | void cgi_handle_ssh_http_request(const char *zIpAddr){ |
| 1325 | static int nCycles = 0; |
| 1326 | static char *zCmd = 0; |
| 1327 | char *z, *zToken; |
| 1328 | const char *zType; |
| 1329 | int i, content_length; |
| 1330 | char zLine[2000]; /* A single line of input. */ |
| 1331 | |
| 1332 | if( zIpAddr ){ |
| 1333 | if( nCycles==0 ){ |
| 1334 | cgi_setenv("REMOTE_ADDR", zIpAddr); |
| 1335 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -1323,12 +1323,12 @@ | |
| 1323 | */ |
| 1324 | void cgi_handle_ssh_http_request(const char *zIpAddr){ |
| 1325 | static int nCycles = 0; |
| 1326 | static char *zCmd = 0; |
| 1327 | char *z, *zToken; |
| 1328 | const char *zType = 0; |
| 1329 | int i, content_length = 0; |
| 1330 | char zLine[2000]; /* A single line of input. */ |
| 1331 | |
| 1332 | if( zIpAddr ){ |
| 1333 | if( nCycles==0 ){ |
| 1334 | cgi_setenv("REMOTE_ADDR", zIpAddr); |
| 1335 |