Fossil SCM
Fix the timeline.c module to be C89-compliant. MSVC needs this.
Commit
8a5f2a7a3a3fded92c151fcd3b1579fd91eb4e0d
Parent
d0daac20dae9798…
1 file changed
+1
-1
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1259,13 +1259,13 @@ | ||
| 1259 | 1259 | */ |
| 1260 | 1260 | void print_timeline(Stmt *q, int mxLine, int showfiles){ |
| 1261 | 1261 | int nLine = 0; |
| 1262 | 1262 | char zPrevDate[20]; |
| 1263 | 1263 | const char *zCurrentUuid=0; |
| 1264 | - zPrevDate[0] = 0; | |
| 1265 | 1264 | int fchngQueryInit = 0; /* True if fchngQuery is initialized */ |
| 1266 | 1265 | Stmt fchngQuery; /* Query for file changes on check-ins */ |
| 1266 | + zPrevDate[0] = 0; | |
| 1267 | 1267 | |
| 1268 | 1268 | if( g.localOpen ){ |
| 1269 | 1269 | int rid = db_lget_int("checkout", 0); |
| 1270 | 1270 | zCurrentUuid = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", rid); |
| 1271 | 1271 | } |
| 1272 | 1272 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1259,13 +1259,13 @@ | |
| 1259 | */ |
| 1260 | void print_timeline(Stmt *q, int mxLine, int showfiles){ |
| 1261 | int nLine = 0; |
| 1262 | char zPrevDate[20]; |
| 1263 | const char *zCurrentUuid=0; |
| 1264 | zPrevDate[0] = 0; |
| 1265 | int fchngQueryInit = 0; /* True if fchngQuery is initialized */ |
| 1266 | Stmt fchngQuery; /* Query for file changes on check-ins */ |
| 1267 | |
| 1268 | if( g.localOpen ){ |
| 1269 | int rid = db_lget_int("checkout", 0); |
| 1270 | zCurrentUuid = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", rid); |
| 1271 | } |
| 1272 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1259,13 +1259,13 @@ | |
| 1259 | */ |
| 1260 | void print_timeline(Stmt *q, int mxLine, int showfiles){ |
| 1261 | int nLine = 0; |
| 1262 | char zPrevDate[20]; |
| 1263 | const char *zCurrentUuid=0; |
| 1264 | int fchngQueryInit = 0; /* True if fchngQuery is initialized */ |
| 1265 | Stmt fchngQuery; /* Query for file changes on check-ins */ |
| 1266 | zPrevDate[0] = 0; |
| 1267 | |
| 1268 | if( g.localOpen ){ |
| 1269 | int rid = db_lget_int("checkout", 0); |
| 1270 | zCurrentUuid = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", rid); |
| 1271 | } |
| 1272 |