Fossil SCM
Fix a harmless compiler warning in timeline.c.
Commit
8d1cb59fe074bb0d6fdd8371495434ea1275f4d020789496cb1cc5a5066c3c8b
Parent
9718f3b078370eb…
1 file changed
+1
-1
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1417,11 +1417,11 @@ | ||
| 1417 | 1417 | const char *zYearMonth = P("ym"); /* Show check-ins for the given YYYY-MM */ |
| 1418 | 1418 | const char *zYearWeek = P("yw"); /* Check-ins for YYYY-WW (week-of-year) */ |
| 1419 | 1419 | char *zYearWeekStart = 0; /* YYYY-MM-DD for start of YYYY-WW */ |
| 1420 | 1420 | const char *zDay = P("ymd"); /* Check-ins for the day YYYY-MM-DD */ |
| 1421 | 1421 | const char *zNDays = P("days"); /* Show events over the previous N days */ |
| 1422 | - int nDays; /* Numeric value for zNDays */ | |
| 1422 | + int nDays = 0; /* Numeric value for zNDays */ | |
| 1423 | 1423 | const char *zChng = P("chng"); /* List of GLOBs for files that changed */ |
| 1424 | 1424 | int useDividers = P("nd")==0; /* Show dividers if "nd" is missing */ |
| 1425 | 1425 | int renameOnly = P("namechng")!=0; /* Show only check-ins that rename files */ |
| 1426 | 1426 | int forkOnly = PB("forks"); /* Show only forks and their children */ |
| 1427 | 1427 | int bisectOnly = PB("bisect"); /* Show the check-ins of the bisect */ |
| 1428 | 1428 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1417,11 +1417,11 @@ | |
| 1417 | const char *zYearMonth = P("ym"); /* Show check-ins for the given YYYY-MM */ |
| 1418 | const char *zYearWeek = P("yw"); /* Check-ins for YYYY-WW (week-of-year) */ |
| 1419 | char *zYearWeekStart = 0; /* YYYY-MM-DD for start of YYYY-WW */ |
| 1420 | const char *zDay = P("ymd"); /* Check-ins for the day YYYY-MM-DD */ |
| 1421 | const char *zNDays = P("days"); /* Show events over the previous N days */ |
| 1422 | int nDays; /* Numeric value for zNDays */ |
| 1423 | const char *zChng = P("chng"); /* List of GLOBs for files that changed */ |
| 1424 | int useDividers = P("nd")==0; /* Show dividers if "nd" is missing */ |
| 1425 | int renameOnly = P("namechng")!=0; /* Show only check-ins that rename files */ |
| 1426 | int forkOnly = PB("forks"); /* Show only forks and their children */ |
| 1427 | int bisectOnly = PB("bisect"); /* Show the check-ins of the bisect */ |
| 1428 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1417,11 +1417,11 @@ | |
| 1417 | const char *zYearMonth = P("ym"); /* Show check-ins for the given YYYY-MM */ |
| 1418 | const char *zYearWeek = P("yw"); /* Check-ins for YYYY-WW (week-of-year) */ |
| 1419 | char *zYearWeekStart = 0; /* YYYY-MM-DD for start of YYYY-WW */ |
| 1420 | const char *zDay = P("ymd"); /* Check-ins for the day YYYY-MM-DD */ |
| 1421 | const char *zNDays = P("days"); /* Show events over the previous N days */ |
| 1422 | int nDays = 0; /* Numeric value for zNDays */ |
| 1423 | const char *zChng = P("chng"); /* List of GLOBs for files that changed */ |
| 1424 | int useDividers = P("nd")==0; /* Show dividers if "nd" is missing */ |
| 1425 | int renameOnly = P("namechng")!=0; /* Show only check-ins that rename files */ |
| 1426 | int forkOnly = PB("forks"); /* Show only forks and their children */ |
| 1427 | int bisectOnly = PB("bisect"); /* Show the check-ins of the bisect */ |
| 1428 |