Fossil SCM

Move variable assignment after declarations so as to compile on nmake

joel 2013-04-08 16:21 trunk
Commit 4ee6792d4b479ab083e1a8a32d68c0a7fc58f05c
1 file changed +1 -1
+1 -1
--- src/bisect.c
+++ src/bisect.c
@@ -267,12 +267,12 @@
267267
}else if( memcmp(zCmd, "undo", n)==0 ){
268268
char *zLog;
269269
Blob log, id;
270270
int ridBad = 0;
271271
int ridGood = 0;
272
- foundCmd = 1;
273272
int cnt = 0, i;
273
+ foundCmd = 1;
274274
db_begin_transaction();
275275
zLog = db_lget("bisect-log","");
276276
blob_init(&log, zLog, -1);
277277
while( blob_token(&log, &id) ){ cnt++; }
278278
if( cnt==0 ){
279279
--- src/bisect.c
+++ src/bisect.c
@@ -267,12 +267,12 @@
267 }else if( memcmp(zCmd, "undo", n)==0 ){
268 char *zLog;
269 Blob log, id;
270 int ridBad = 0;
271 int ridGood = 0;
272 foundCmd = 1;
273 int cnt = 0, i;
 
274 db_begin_transaction();
275 zLog = db_lget("bisect-log","");
276 blob_init(&log, zLog, -1);
277 while( blob_token(&log, &id) ){ cnt++; }
278 if( cnt==0 ){
279
--- src/bisect.c
+++ src/bisect.c
@@ -267,12 +267,12 @@
267 }else if( memcmp(zCmd, "undo", n)==0 ){
268 char *zLog;
269 Blob log, id;
270 int ridBad = 0;
271 int ridGood = 0;
 
272 int cnt = 0, i;
273 foundCmd = 1;
274 db_begin_transaction();
275 zLog = db_lget("bisect-log","");
276 blob_init(&log, zLog, -1);
277 while( blob_token(&log, &id) ){ cnt++; }
278 if( cnt==0 ){
279

Keyboard Shortcuts

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