Skip to content

Commit e93a26f

Browse files
committed
fix redeclaration
1 parent 9692fb1 commit e93a26f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/crypto_impl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ int sqlcipher_codec_ctx_migrate(codec_ctx *ctx) {
12651265
goto cleanup;
12661266
}
12671267

1268-
for(int i = 3; i > 0; i--) {
1268+
for(i = 3; i > 0; i--) {
12691269
pragma_compat = sqlite3_mprintf("PRAGMA cipher_compatibility = %d;", i);
12701270
rc = sqlcipher_check_connection(db_filename, pass, pass_sz, pragma_compat, &user_version, &journal_mode);
12711271
if(rc == SQLITE_OK) {

0 commit comments

Comments
 (0)