Fossil SCM
Fix a harmless compiler warning.
Commit
1eb509a80761b23e00d9dac4d801c1ab7418bb04
Parent
a52f19674024cc2…
1 file changed
+1
-1
+1
-1
| --- src/sqlcmd.c | ||
| +++ src/sqlcmd.c | ||
| @@ -210,11 +210,11 @@ | ||
| 210 | 210 | ** all files contained in check-in X. Example: |
| 211 | 211 | ** SELECT * FROM files_of_checkin('trunk'); |
| 212 | 212 | */ |
| 213 | 213 | void cmd_sqlite3(void){ |
| 214 | 214 | int noRepository; |
| 215 | - char *zConfigDb; | |
| 215 | + const char *zConfigDb; | |
| 216 | 216 | extern int sqlite3_shell(int, char**); |
| 217 | 217 | noRepository = find_option("no-repository", 0, 0)!=0; |
| 218 | 218 | if( !noRepository ){ |
| 219 | 219 | db_find_and_open_repository(OPEN_ANY_SCHEMA, 0); |
| 220 | 220 | } |
| 221 | 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 | 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 |