Skip to content

Commit 018c0fb

Browse files
committed
remove unused variables
1 parent 16167e9 commit 018c0fb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/crypto_impl.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,15 +955,13 @@ int sqlcipher_codec_ctx_migrate(codec_ctx *ctx) {
955955
sqlite3 *db = ctx->pBt->db;
956956
const char *db_filename = sqlite3_db_filename(db, "main");
957957
char *migrated_db_filename = sqlite3_mprintf("%s-migrated", db_filename);
958-
char *query_sqlite_master = "SELECT count(*) from sqlite_master;";
959958
char *pragma_hmac_off = "PRAGMA cipher_use_hmac = OFF;";
960959
char *pragma_4k_kdf_iter = "PRAGMA kdf_iter = 4000;";
961960
char *pragma_1x_and_4k;
962961
char *key;
963962
int key_sz;
964963
int upgrade_1x_format = 0;
965964
int upgrade_4k_format = 0;
966-
char *err = 0;
967965
static const unsigned char aCopy[] = {
968966
BTREE_SCHEMA_VERSION, 1, /* Add one to the old schema cookie */
969967
BTREE_DEFAULT_CACHE_SIZE, 0, /* Preserve the default page cache size */

0 commit comments

Comments
 (0)