Fossil SCM

Fix a (harmless) compiler warning in wikiformat.c.

drh 2009-09-19 15:20 trunk
Commit e0131b1a661b6b2818fe36653034aef01ea44b1d
1 file changed +1 -1
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -961,11 +961,11 @@
961961
blob_appendf(p->pOut, "<a href=\"%h\">", zTarget);
962962
}else{
963963
zTerm = "";
964964
}
965965
}else if( is_valid_uuid(zTarget) ){
966
- int isClosed;
966
+ int isClosed = 0;
967967
if( is_ticket(zTarget, &isClosed) ){
968968
/* Special display processing for tickets. Display the hyperlink
969969
** as crossed out if the ticket is closed.
970970
*/
971971
if( isClosed ){
972972
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -961,11 +961,11 @@
961 blob_appendf(p->pOut, "<a href=\"%h\">", zTarget);
962 }else{
963 zTerm = "";
964 }
965 }else if( is_valid_uuid(zTarget) ){
966 int isClosed;
967 if( is_ticket(zTarget, &isClosed) ){
968 /* Special display processing for tickets. Display the hyperlink
969 ** as crossed out if the ticket is closed.
970 */
971 if( isClosed ){
972
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -961,11 +961,11 @@
961 blob_appendf(p->pOut, "<a href=\"%h\">", zTarget);
962 }else{
963 zTerm = "";
964 }
965 }else if( is_valid_uuid(zTarget) ){
966 int isClosed = 0;
967 if( is_ticket(zTarget, &isClosed) ){
968 /* Special display processing for tickets. Display the hyperlink
969 ** as crossed out if the ticket is closed.
970 */
971 if( isClosed ){
972

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button