Fossil SCM
Clean up a harmless compiler warning introduced by the previous check-in.
Commit
f7f4a80ea0a421b69fb1d221046e8f97618078bb
Parent
7922e56655ccdc3…
1 file changed
-1
-1
| --- src/report.c | ||
| +++ src/report.c | ||
| @@ -202,11 +202,10 @@ | ||
| 202 | 202 | |
| 203 | 203 | /* |
| 204 | 204 | ** Activate the query authorizer |
| 205 | 205 | */ |
| 206 | 206 | static void report_restrict_sql(char **pzErr){ |
| 207 | - char *zErr; | |
| 208 | 207 | (void)fossil_localtime(0); |
| 209 | 208 | sqlite3_set_authorizer(g.db, report_query_authorizer, (void*)pzErr); |
| 210 | 209 | } |
| 211 | 210 | static void report_unrestrict_sql(void){ |
| 212 | 211 | sqlite3_set_authorizer(g.db, 0, 0); |
| 213 | 212 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -202,11 +202,10 @@ | |
| 202 | |
| 203 | /* |
| 204 | ** Activate the query authorizer |
| 205 | */ |
| 206 | static void report_restrict_sql(char **pzErr){ |
| 207 | char *zErr; |
| 208 | (void)fossil_localtime(0); |
| 209 | sqlite3_set_authorizer(g.db, report_query_authorizer, (void*)pzErr); |
| 210 | } |
| 211 | static void report_unrestrict_sql(void){ |
| 212 | sqlite3_set_authorizer(g.db, 0, 0); |
| 213 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -202,11 +202,10 @@ | |
| 202 | |
| 203 | /* |
| 204 | ** Activate the query authorizer |
| 205 | */ |
| 206 | static void report_restrict_sql(char **pzErr){ |
| 207 | (void)fossil_localtime(0); |
| 208 | sqlite3_set_authorizer(g.db, report_query_authorizer, (void*)pzErr); |
| 209 | } |
| 210 | static void report_unrestrict_sql(void){ |
| 211 | sqlite3_set_authorizer(g.db, 0, 0); |
| 212 |