Fossil SCM
Move variable assignment after declarations so as to compile on nmake
Commit
4ee6792d4b479ab083e1a8a32d68c0a7fc58f05c
Parent
41c7ac29d7075ac…
1 file changed
+1
-1
+1
-1
| --- src/bisect.c | ||
| +++ src/bisect.c | ||
| @@ -267,12 +267,12 @@ | ||
| 267 | 267 | }else if( memcmp(zCmd, "undo", n)==0 ){ |
| 268 | 268 | char *zLog; |
| 269 | 269 | Blob log, id; |
| 270 | 270 | int ridBad = 0; |
| 271 | 271 | int ridGood = 0; |
| 272 | - foundCmd = 1; | |
| 273 | 272 | int cnt = 0, i; |
| 273 | + foundCmd = 1; | |
| 274 | 274 | db_begin_transaction(); |
| 275 | 275 | zLog = db_lget("bisect-log",""); |
| 276 | 276 | blob_init(&log, zLog, -1); |
| 277 | 277 | while( blob_token(&log, &id) ){ cnt++; } |
| 278 | 278 | if( cnt==0 ){ |
| 279 | 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 | 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 |