Fossil SCM
Fix uninitialized variable that was causing artifact download issues.
Commit
3af5165a9024bd179fd410d5eabcdf0bd1dedfbe
Parent
fc29b081257f192…
1 file changed
+1
-1
+1
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -1559,11 +1559,11 @@ | ||
| 1559 | 1559 | ** |
| 1560 | 1560 | ** Return the uninterpreted content of an artifact. Used primarily |
| 1561 | 1561 | ** to view artifacts that are images. |
| 1562 | 1562 | */ |
| 1563 | 1563 | void rawartifact_page(void){ |
| 1564 | - int rid; | |
| 1564 | + int rid = 0; | |
| 1565 | 1565 | char *zUuid; |
| 1566 | 1566 | const char *zMime; |
| 1567 | 1567 | Blob content; |
| 1568 | 1568 | |
| 1569 | 1569 | if( P("ci") && P("filename") ){ |
| 1570 | 1570 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -1559,11 +1559,11 @@ | |
| 1559 | ** |
| 1560 | ** Return the uninterpreted content of an artifact. Used primarily |
| 1561 | ** to view artifacts that are images. |
| 1562 | */ |
| 1563 | void rawartifact_page(void){ |
| 1564 | int rid; |
| 1565 | char *zUuid; |
| 1566 | const char *zMime; |
| 1567 | Blob content; |
| 1568 | |
| 1569 | if( P("ci") && P("filename") ){ |
| 1570 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -1559,11 +1559,11 @@ | |
| 1559 | ** |
| 1560 | ** Return the uninterpreted content of an artifact. Used primarily |
| 1561 | ** to view artifacts that are images. |
| 1562 | */ |
| 1563 | void rawartifact_page(void){ |
| 1564 | int rid = 0; |
| 1565 | char *zUuid; |
| 1566 | const char *zMime; |
| 1567 | Blob content; |
| 1568 | |
| 1569 | if( P("ci") && P("filename") ){ |
| 1570 |