Fossil SCM
Fix a (harmless) compiler warning in wikiformat.c.
Commit
e0131b1a661b6b2818fe36653034aef01ea44b1d
Parent
3a4c7f60a27f32d…
1 file changed
+1
-1
+1
-1
| --- src/wikiformat.c | ||
| +++ src/wikiformat.c | ||
| @@ -961,11 +961,11 @@ | ||
| 961 | 961 | blob_appendf(p->pOut, "<a href=\"%h\">", zTarget); |
| 962 | 962 | }else{ |
| 963 | 963 | zTerm = ""; |
| 964 | 964 | } |
| 965 | 965 | }else if( is_valid_uuid(zTarget) ){ |
| 966 | - int isClosed; | |
| 966 | + int isClosed = 0; | |
| 967 | 967 | if( is_ticket(zTarget, &isClosed) ){ |
| 968 | 968 | /* Special display processing for tickets. Display the hyperlink |
| 969 | 969 | ** as crossed out if the ticket is closed. |
| 970 | 970 | */ |
| 971 | 971 | if( isClosed ){ |
| 972 | 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; |
| 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 |