Fossil SCM
Minor gcc compiler warnings
Commit
a9d1d46f659937412cc37196a64ed52c5bd3a1cdb1d5f0b8ba723a6dc07d48db
Parent
41956e7000813c3…
1 file changed
+1
-2
+1
-2
| --- src/export.c | ||
| +++ src/export.c | ||
| @@ -485,11 +485,10 @@ | ||
| 485 | 485 | ** |
| 486 | 486 | ** See also: import |
| 487 | 487 | */ |
| 488 | 488 | void export_cmd(void){ |
| 489 | 489 | Stmt q, q2, q3; |
| 490 | - int i; | |
| 491 | 490 | Bag blobs, vers; |
| 492 | 491 | unsigned int unused_mark = 1; |
| 493 | 492 | const char *markfile_in; |
| 494 | 493 | const char *markfile_out; |
| 495 | 494 | |
| @@ -718,11 +717,11 @@ | ||
| 718 | 717 | printf("\nfrom %s\n", zMark); |
| 719 | 718 | free(zMark); |
| 720 | 719 | printf("tagger"); |
| 721 | 720 | print_person(zUser); |
| 722 | 721 | printf(" %s +0000\n", zSecSince1970); |
| 723 | - printf("data %d\n", zValue==NULL?0:strlen(zValue)+1); | |
| 722 | + printf("data %d\n", zValue==NULL?0:(int)strlen(zValue)+1); | |
| 724 | 723 | if( zValue!=NULL ) printf("%s\n",zValue); |
| 725 | 724 | } |
| 726 | 725 | db_finalize(&q); |
| 727 | 726 | |
| 728 | 727 | if( markfile_out!=0 ){ |
| 729 | 728 |
| --- src/export.c | |
| +++ src/export.c | |
| @@ -485,11 +485,10 @@ | |
| 485 | ** |
| 486 | ** See also: import |
| 487 | */ |
| 488 | void export_cmd(void){ |
| 489 | Stmt q, q2, q3; |
| 490 | int i; |
| 491 | Bag blobs, vers; |
| 492 | unsigned int unused_mark = 1; |
| 493 | const char *markfile_in; |
| 494 | const char *markfile_out; |
| 495 | |
| @@ -718,11 +717,11 @@ | |
| 718 | printf("\nfrom %s\n", zMark); |
| 719 | free(zMark); |
| 720 | printf("tagger"); |
| 721 | print_person(zUser); |
| 722 | printf(" %s +0000\n", zSecSince1970); |
| 723 | printf("data %d\n", zValue==NULL?0:strlen(zValue)+1); |
| 724 | if( zValue!=NULL ) printf("%s\n",zValue); |
| 725 | } |
| 726 | db_finalize(&q); |
| 727 | |
| 728 | if( markfile_out!=0 ){ |
| 729 |
| --- src/export.c | |
| +++ src/export.c | |
| @@ -485,11 +485,10 @@ | |
| 485 | ** |
| 486 | ** See also: import |
| 487 | */ |
| 488 | void export_cmd(void){ |
| 489 | Stmt q, q2, q3; |
| 490 | Bag blobs, vers; |
| 491 | unsigned int unused_mark = 1; |
| 492 | const char *markfile_in; |
| 493 | const char *markfile_out; |
| 494 | |
| @@ -718,11 +717,11 @@ | |
| 717 | printf("\nfrom %s\n", zMark); |
| 718 | free(zMark); |
| 719 | printf("tagger"); |
| 720 | print_person(zUser); |
| 721 | printf(" %s +0000\n", zSecSince1970); |
| 722 | printf("data %d\n", zValue==NULL?0:(int)strlen(zValue)+1); |
| 723 | if( zValue!=NULL ) printf("%s\n",zValue); |
| 724 | } |
| 725 | db_finalize(&q); |
| 726 | |
| 727 | if( markfile_out!=0 ){ |
| 728 |