Fossil SCM
Remove unused variables from stat.c.
Commit
741f71d82da5096064db8150c22d146d3b478b70756eb45093946008dca294e8
Parent
a53ce0407a79d8e…
1 file changed
-3
-3
| --- src/stat.c | ||
| +++ src/stat.c | ||
| @@ -62,11 +62,10 @@ | ||
| 62 | 62 | void stat_page(void){ |
| 63 | 63 | i64 t, fsize; |
| 64 | 64 | int n, m; |
| 65 | 65 | int szMax, szAvg; |
| 66 | 66 | int brief; |
| 67 | - char zBuf[100]; | |
| 68 | 67 | const char *p; |
| 69 | 68 | |
| 70 | 69 | login_check_credentials(); |
| 71 | 70 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 72 | 71 | brief = P("brief")!=0; |
| @@ -224,11 +223,10 @@ | ||
| 224 | 223 | int n, m; |
| 225 | 224 | int szMax, szAvg; |
| 226 | 225 | int brief; |
| 227 | 226 | int omitVers; /* Omit Fossil and SQLite version information */ |
| 228 | 227 | int dbCheck; /* True for the --db-check option */ |
| 229 | - char zBuf[100]; | |
| 230 | 228 | const int colWidth = -19 /* printf alignment/width for left column */; |
| 231 | 229 | const char *p, *z; |
| 232 | 230 | |
| 233 | 231 | brief = find_option("brief", "b",0)!=0; |
| 234 | 232 | omitVers = find_option("omit-version-info", 0, 0)!=0; |
| @@ -804,11 +802,10 @@ | ||
| 804 | 802 | int nTotal = db_column_int(&q, 1); |
| 805 | 803 | int nDelta = db_column_int(&q, 2); |
| 806 | 804 | int nFull = nTotal - nDelta; |
| 807 | 805 | sqlite3_int64 szCmpr = db_column_int64(&q, 3); |
| 808 | 806 | sqlite3_int64 szExp = db_column_int64(&q, 4); |
| 809 | - char *z; | |
| 810 | 807 | @ <tr><td>%h(zType)</td> |
| 811 | 808 | @ <td data-sortkey='%08x(nTotal)' align='right'>%,d(nTotal)</td> |
| 812 | 809 | @ <td data-sortkey='%08x(nFull)' align='right'>%,d(nFull)</td> |
| 813 | 810 | @ <td data-sortkey='%08x(nDelta)' align='right'>%,d(nDelta)</td> |
| 814 | 811 | @ <td data-sortkey='%016x(szCmpr)' align='right'>%,lld(szCmpr)</td> |
| 815 | 812 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -62,11 +62,10 @@ | |
| 62 | void stat_page(void){ |
| 63 | i64 t, fsize; |
| 64 | int n, m; |
| 65 | int szMax, szAvg; |
| 66 | int brief; |
| 67 | char zBuf[100]; |
| 68 | const char *p; |
| 69 | |
| 70 | login_check_credentials(); |
| 71 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 72 | brief = P("brief")!=0; |
| @@ -224,11 +223,10 @@ | |
| 224 | int n, m; |
| 225 | int szMax, szAvg; |
| 226 | int brief; |
| 227 | int omitVers; /* Omit Fossil and SQLite version information */ |
| 228 | int dbCheck; /* True for the --db-check option */ |
| 229 | char zBuf[100]; |
| 230 | const int colWidth = -19 /* printf alignment/width for left column */; |
| 231 | const char *p, *z; |
| 232 | |
| 233 | brief = find_option("brief", "b",0)!=0; |
| 234 | omitVers = find_option("omit-version-info", 0, 0)!=0; |
| @@ -804,11 +802,10 @@ | |
| 804 | int nTotal = db_column_int(&q, 1); |
| 805 | int nDelta = db_column_int(&q, 2); |
| 806 | int nFull = nTotal - nDelta; |
| 807 | sqlite3_int64 szCmpr = db_column_int64(&q, 3); |
| 808 | sqlite3_int64 szExp = db_column_int64(&q, 4); |
| 809 | char *z; |
| 810 | @ <tr><td>%h(zType)</td> |
| 811 | @ <td data-sortkey='%08x(nTotal)' align='right'>%,d(nTotal)</td> |
| 812 | @ <td data-sortkey='%08x(nFull)' align='right'>%,d(nFull)</td> |
| 813 | @ <td data-sortkey='%08x(nDelta)' align='right'>%,d(nDelta)</td> |
| 814 | @ <td data-sortkey='%016x(szCmpr)' align='right'>%,lld(szCmpr)</td> |
| 815 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -62,11 +62,10 @@ | |
| 62 | void stat_page(void){ |
| 63 | i64 t, fsize; |
| 64 | int n, m; |
| 65 | int szMax, szAvg; |
| 66 | int brief; |
| 67 | const char *p; |
| 68 | |
| 69 | login_check_credentials(); |
| 70 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 71 | brief = P("brief")!=0; |
| @@ -224,11 +223,10 @@ | |
| 223 | int n, m; |
| 224 | int szMax, szAvg; |
| 225 | int brief; |
| 226 | int omitVers; /* Omit Fossil and SQLite version information */ |
| 227 | int dbCheck; /* True for the --db-check option */ |
| 228 | const int colWidth = -19 /* printf alignment/width for left column */; |
| 229 | const char *p, *z; |
| 230 | |
| 231 | brief = find_option("brief", "b",0)!=0; |
| 232 | omitVers = find_option("omit-version-info", 0, 0)!=0; |
| @@ -804,11 +802,10 @@ | |
| 802 | int nTotal = db_column_int(&q, 1); |
| 803 | int nDelta = db_column_int(&q, 2); |
| 804 | int nFull = nTotal - nDelta; |
| 805 | sqlite3_int64 szCmpr = db_column_int64(&q, 3); |
| 806 | sqlite3_int64 szExp = db_column_int64(&q, 4); |
| 807 | @ <tr><td>%h(zType)</td> |
| 808 | @ <td data-sortkey='%08x(nTotal)' align='right'>%,d(nTotal)</td> |
| 809 | @ <td data-sortkey='%08x(nFull)' align='right'>%,d(nFull)</td> |
| 810 | @ <td data-sortkey='%08x(nDelta)' align='right'>%,d(nDelta)</td> |
| 811 | @ <td data-sortkey='%016x(szCmpr)' align='right'>%,lld(szCmpr)</td> |
| 812 |