Fossil SCM

Clean up a harmless compiler warning introduced by the previous check-in.

drh 2011-09-01 12:49 trunk
Commit f7f4a80ea0a421b69fb1d221046e8f97618078bb
1 file changed -1
--- src/report.c
+++ src/report.c
@@ -202,11 +202,10 @@
202202
203203
/*
204204
** Activate the query authorizer
205205
*/
206206
static void report_restrict_sql(char **pzErr){
207
- char *zErr;
208207
(void)fossil_localtime(0);
209208
sqlite3_set_authorizer(g.db, report_query_authorizer, (void*)pzErr);
210209
}
211210
static void report_unrestrict_sql(void){
212211
sqlite3_set_authorizer(g.db, 0, 0);
213212
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button