Fossil SCM

Fix the build on MSVC.

drh 2016-10-24 18:15 trunk
Commit 65e69b8dd8ef81310219b7b64f7d8fecc552daf3
1 file changed +2 -1
+2 -1
--- src/tkt.c
+++ src/tkt.c
@@ -546,12 +546,13 @@
546546
Blob *pTicket, /* The text of the ticket change record */
547547
const char *zTktId, /* The ticket to which this change is applied */
548548
int needMod /* True if moderation is needed */
549549
){
550550
int result;
551
+ int rid;
551552
manifest_crosslink_begin();
552
- int rid = content_put_ex(pTicket, 0, 0, 0, needMod);
553
+ rid = content_put_ex(pTicket, 0, 0, 0, needMod);
553554
if( rid==0 ){
554555
fossil_fatal("trouble committing ticket: %s", g.zErrMsg);
555556
}
556557
if( needMod ){
557558
moderation_table_create();
558559
--- src/tkt.c
+++ src/tkt.c
@@ -546,12 +546,13 @@
546 Blob *pTicket, /* The text of the ticket change record */
547 const char *zTktId, /* The ticket to which this change is applied */
548 int needMod /* True if moderation is needed */
549 ){
550 int result;
 
551 manifest_crosslink_begin();
552 int rid = content_put_ex(pTicket, 0, 0, 0, needMod);
553 if( rid==0 ){
554 fossil_fatal("trouble committing ticket: %s", g.zErrMsg);
555 }
556 if( needMod ){
557 moderation_table_create();
558
--- src/tkt.c
+++ src/tkt.c
@@ -546,12 +546,13 @@
546 Blob *pTicket, /* The text of the ticket change record */
547 const char *zTktId, /* The ticket to which this change is applied */
548 int needMod /* True if moderation is needed */
549 ){
550 int result;
551 int rid;
552 manifest_crosslink_begin();
553 rid = content_put_ex(pTicket, 0, 0, 0, needMod);
554 if( rid==0 ){
555 fossil_fatal("trouble committing ticket: %s", g.zErrMsg);
556 }
557 if( needMod ){
558 moderation_table_create();
559

Keyboard Shortcuts

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