1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

Fix uninitialized variable in the command line shell.

FossilOrigin-Name: dc2ac024d31a898bbc3e7fc824d806e63e993234
This commit is contained in:
mistachkin
2015-11-17 19:17:14 +00:00
parent 81c7811fe7
commit bfe8bd5a5e
3 changed files with 8 additions and 8 deletions

View File

@@ -2560,7 +2560,7 @@ static int shell_dbinfo_command(ShellState *p, int nArg, char **azArg){
{ "schema size:",
"SELECT total(length(sql)) FROM %s" },
};
sqlite3_file *pFile;
sqlite3_file *pFile = 0;
int i;
char *zSchemaTab;
char *zDb = nArg>=2 ? azArg[1] : "main";