Fossil SCM

Fix a harmless compiler warning.

drh 2016-12-24 21:58 trunk
Commit 1eb509a80761b23e00d9dac4d801c1ab7418bb04
1 file changed +1 -1
+1 -1
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -210,11 +210,11 @@
210210
** all files contained in check-in X. Example:
211211
** SELECT * FROM files_of_checkin('trunk');
212212
*/
213213
void cmd_sqlite3(void){
214214
int noRepository;
215
- char *zConfigDb;
215
+ const char *zConfigDb;
216216
extern int sqlite3_shell(int, char**);
217217
noRepository = find_option("no-repository", 0, 0)!=0;
218218
if( !noRepository ){
219219
db_find_and_open_repository(OPEN_ANY_SCHEMA, 0);
220220
}
221221
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -210,11 +210,11 @@
210 ** all files contained in check-in X. Example:
211 ** SELECT * FROM files_of_checkin('trunk');
212 */
213 void cmd_sqlite3(void){
214 int noRepository;
215 char *zConfigDb;
216 extern int sqlite3_shell(int, char**);
217 noRepository = find_option("no-repository", 0, 0)!=0;
218 if( !noRepository ){
219 db_find_and_open_repository(OPEN_ANY_SCHEMA, 0);
220 }
221
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -210,11 +210,11 @@
210 ** all files contained in check-in X. Example:
211 ** SELECT * FROM files_of_checkin('trunk');
212 */
213 void cmd_sqlite3(void){
214 int noRepository;
215 const char *zConfigDb;
216 extern int sqlite3_shell(int, char**);
217 noRepository = find_option("no-repository", 0, 0)!=0;
218 if( !noRepository ){
219 db_find_and_open_repository(OPEN_ANY_SCHEMA, 0);
220 }
221

Keyboard Shortcuts

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