Fossil SCM
Fix harmless compiler warning.
Commit
5aa37859d0bf2309ad6a2263bfee0b4ee62ecb2690abdc5a1250a1b1de2e0f0b
Parent
3c6d23b75293022…
1 file changed
+1
-1
+1
-1
| --- src/doc.c | ||
| +++ src/doc.c | ||
| @@ -573,11 +573,11 @@ | ||
| 573 | 573 | ** For fossil-doc documents and for markdown documents, text of the |
| 574 | 574 | ** form: "href='$ROOT/" or "action='$ROOT" has the $ROOT name expanded |
| 575 | 575 | ** to the top-level of the repository. |
| 576 | 576 | */ |
| 577 | 577 | void doc_page(void){ |
| 578 | - const char *zName; /* Argument to the /doc page */ | |
| 578 | + const char *zName = 0; /* Argument to the /doc page */ | |
| 579 | 579 | const char *zOrigName = "?"; /* Original document name */ |
| 580 | 580 | const char *zMime; /* Document MIME type */ |
| 581 | 581 | char *zCheckin = "tip"; /* The check-in holding the document */ |
| 582 | 582 | char *zPathSuffix = ""; /* Text to append to g.zPath */ |
| 583 | 583 | int vid = 0; /* Artifact of check-in */ |
| 584 | 584 |
| --- src/doc.c | |
| +++ src/doc.c | |
| @@ -573,11 +573,11 @@ | |
| 573 | ** For fossil-doc documents and for markdown documents, text of the |
| 574 | ** form: "href='$ROOT/" or "action='$ROOT" has the $ROOT name expanded |
| 575 | ** to the top-level of the repository. |
| 576 | */ |
| 577 | void doc_page(void){ |
| 578 | const char *zName; /* Argument to the /doc page */ |
| 579 | const char *zOrigName = "?"; /* Original document name */ |
| 580 | const char *zMime; /* Document MIME type */ |
| 581 | char *zCheckin = "tip"; /* The check-in holding the document */ |
| 582 | char *zPathSuffix = ""; /* Text to append to g.zPath */ |
| 583 | int vid = 0; /* Artifact of check-in */ |
| 584 |
| --- src/doc.c | |
| +++ src/doc.c | |
| @@ -573,11 +573,11 @@ | |
| 573 | ** For fossil-doc documents and for markdown documents, text of the |
| 574 | ** form: "href='$ROOT/" or "action='$ROOT" has the $ROOT name expanded |
| 575 | ** to the top-level of the repository. |
| 576 | */ |
| 577 | void doc_page(void){ |
| 578 | const char *zName = 0; /* Argument to the /doc page */ |
| 579 | const char *zOrigName = "?"; /* Original document name */ |
| 580 | const char *zMime; /* Document MIME type */ |
| 581 | char *zCheckin = "tip"; /* The check-in holding the document */ |
| 582 | char *zPathSuffix = ""; /* Text to append to g.zPath */ |
| 583 | int vid = 0; /* Artifact of check-in */ |
| 584 |