Fossil SCM

Remove unused variable

jan.nijtmans 2015-04-22 19:10 sync-forkwarn
Commit 101fdfe89ae7e92e5d54310828065f6e017b8a73
+1
--- src/leaf.c
+++ src/leaf.c
@@ -72,10 +72,11 @@
7272
nNonBranch = db_column_int(&q, 0);
7373
}
7474
db_reset(&q);
7575
return nNonBranch;
7676
}
77
+
7778
7879
/*
7980
** Recompute the entire LEAF table.
8081
**
8182
** This can be expensive (5 seconds or so) for a really large repository.
8283
--- src/leaf.c
+++ src/leaf.c
@@ -72,10 +72,11 @@
72 nNonBranch = db_column_int(&q, 0);
73 }
74 db_reset(&q);
75 return nNonBranch;
76 }
 
77
78 /*
79 ** Recompute the entire LEAF table.
80 **
81 ** This can be expensive (5 seconds or so) for a really large repository.
82
--- src/leaf.c
+++ src/leaf.c
@@ -72,10 +72,11 @@
72 nNonBranch = db_column_int(&q, 0);
73 }
74 db_reset(&q);
75 return nNonBranch;
76 }
77
78
79 /*
80 ** Recompute the entire LEAF table.
81 **
82 ** This can be expensive (5 seconds or so) for a really large repository.
83
-1
--- src/main.c
+++ src/main.c
@@ -174,11 +174,10 @@
174174
int xlinkClusterOnly; /* Set when cloning. Only process clusters */
175175
int fTimeFormat; /* 1 for UTC. 2 for localtime. 0 not yet selected */
176176
int *aCommitFile; /* Array of files to be committed */
177177
int markPrivate; /* All new artifacts are private if true */
178178
int clockSkewSeen; /* True if clocks on client and server out of sync */
179
- int forkSeen; /* True if an unhandled fork was seen during sync */
180179
int wikiFlags; /* Wiki conversion flags applied to %W */
181180
char isHTTP; /* True if server/CGI modes, else assume CLI. */
182181
char javascriptHyperlink; /* If true, set href= using script, not HTML */
183182
Blob httpHeader; /* Complete text of the HTTP request header */
184183
UrlData url; /* Information about current URL */
185184
--- src/main.c
+++ src/main.c
@@ -174,11 +174,10 @@
174 int xlinkClusterOnly; /* Set when cloning. Only process clusters */
175 int fTimeFormat; /* 1 for UTC. 2 for localtime. 0 not yet selected */
176 int *aCommitFile; /* Array of files to be committed */
177 int markPrivate; /* All new artifacts are private if true */
178 int clockSkewSeen; /* True if clocks on client and server out of sync */
179 int forkSeen; /* True if an unhandled fork was seen during sync */
180 int wikiFlags; /* Wiki conversion flags applied to %W */
181 char isHTTP; /* True if server/CGI modes, else assume CLI. */
182 char javascriptHyperlink; /* If true, set href= using script, not HTML */
183 Blob httpHeader; /* Complete text of the HTTP request header */
184 UrlData url; /* Information about current URL */
185
--- src/main.c
+++ src/main.c
@@ -174,11 +174,10 @@
174 int xlinkClusterOnly; /* Set when cloning. Only process clusters */
175 int fTimeFormat; /* 1 for UTC. 2 for localtime. 0 not yet selected */
176 int *aCommitFile; /* Array of files to be committed */
177 int markPrivate; /* All new artifacts are private if true */
178 int clockSkewSeen; /* True if clocks on client and server out of sync */
 
179 int wikiFlags; /* Wiki conversion flags applied to %W */
180 char isHTTP; /* True if server/CGI modes, else assume CLI. */
181 char javascriptHyperlink; /* If true, set href= using script, not HTML */
182 Blob httpHeader; /* Complete text of the HTTP request header */
183 UrlData url; /* Information about current URL */
184
-1
--- src/xfer.c
+++ src/xfer.c
@@ -1452,11 +1452,10 @@
14521452
memset(&xfer, 0, sizeof(xfer));
14531453
xfer.pIn = &recv;
14541454
xfer.pOut = &send;
14551455
xfer.mxSend = db_get_int("max-upload", 250000);
14561456
xfer.maxTime = -1;
1457
- g.forkSeen = 0;
14581457
if( syncFlags & SYNC_PRIVATE ){
14591458
g.perm.Private = 1;
14601459
xfer.syncPrivate = 1;
14611460
}
14621461
14631462
--- src/xfer.c
+++ src/xfer.c
@@ -1452,11 +1452,10 @@
1452 memset(&xfer, 0, sizeof(xfer));
1453 xfer.pIn = &recv;
1454 xfer.pOut = &send;
1455 xfer.mxSend = db_get_int("max-upload", 250000);
1456 xfer.maxTime = -1;
1457 g.forkSeen = 0;
1458 if( syncFlags & SYNC_PRIVATE ){
1459 g.perm.Private = 1;
1460 xfer.syncPrivate = 1;
1461 }
1462
1463
--- src/xfer.c
+++ src/xfer.c
@@ -1452,11 +1452,10 @@
1452 memset(&xfer, 0, sizeof(xfer));
1453 xfer.pIn = &recv;
1454 xfer.pOut = &send;
1455 xfer.mxSend = db_get_int("max-upload", 250000);
1456 xfer.maxTime = -1;
 
1457 if( syncFlags & SYNC_PRIVATE ){
1458 g.perm.Private = 1;
1459 xfer.syncPrivate = 1;
1460 }
1461
1462

Keyboard Shortcuts

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