Fossil SCM

Fix uninitialized variable that was causing artifact download issues.

mistachkin 2016-11-12 00:01 trunk
Commit 3af5165a9024bd179fd410d5eabcdf0bd1dedfbe
1 file changed +1 -1
+1 -1
--- src/info.c
+++ src/info.c
@@ -1559,11 +1559,11 @@
15591559
**
15601560
** Return the uninterpreted content of an artifact. Used primarily
15611561
** to view artifacts that are images.
15621562
*/
15631563
void rawartifact_page(void){
1564
- int rid;
1564
+ int rid = 0;
15651565
char *zUuid;
15661566
const char *zMime;
15671567
Blob content;
15681568
15691569
if( P("ci") && P("filename") ){
15701570
--- 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

Keyboard Shortcuts

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