@@ -336,7 +336,7 @@ int sqlcipher_codec_pragma(sqlite3* db, int iDb, Parse *pParse, const char *zLef
336336 if ( sqlite3StrICmp (zLeft ,"cipher_hmac_algorithm" )== 0 ){
337337 if (ctx ) {
338338 if (zRight ) {
339- int rc = SQLITE_ERROR ;
339+ rc = SQLITE_ERROR ;
340340 if (sqlite3StrICmp (zRight , SQLCIPHER_HMAC_SHA1_LABEL ) == 0 ) {
341341 rc = sqlcipher_codec_ctx_set_hmac_algorithm (ctx , SQLCIPHER_HMAC_SHA1 );
342342 } else if (sqlite3StrICmp (zRight , SQLCIPHER_HMAC_SHA256_LABEL ) == 0 ) {
@@ -361,7 +361,7 @@ int sqlcipher_codec_pragma(sqlite3* db, int iDb, Parse *pParse, const char *zLef
361361 }else
362362 if ( sqlite3StrICmp (zLeft ,"cipher_default_hmac_algorithm" )== 0 ){
363363 if (zRight ) {
364- int rc = SQLITE_ERROR ;
364+ rc = SQLITE_ERROR ;
365365 if (sqlite3StrICmp (zRight , SQLCIPHER_HMAC_SHA1_LABEL ) == 0 ) {
366366 rc = sqlcipher_set_default_hmac_algorithm (SQLCIPHER_HMAC_SHA1 );
367367 } else if (sqlite3StrICmp (zRight , SQLCIPHER_HMAC_SHA256_LABEL ) == 0 ) {
@@ -384,7 +384,7 @@ int sqlcipher_codec_pragma(sqlite3* db, int iDb, Parse *pParse, const char *zLef
384384 if ( sqlite3StrICmp (zLeft ,"cipher_kdf_algorithm" )== 0 ){
385385 if (ctx ) {
386386 if (zRight ) {
387- int rc = SQLITE_ERROR ;
387+ rc = SQLITE_ERROR ;
388388 if (sqlite3StrICmp (zRight , SQLCIPHER_PBKDF2_HMAC_SHA1_LABEL ) == 0 ) {
389389 rc = sqlcipher_codec_ctx_set_kdf_algorithm (ctx , SQLCIPHER_PBKDF2_HMAC_SHA1 );
390390 } else if (sqlite3StrICmp (zRight , SQLCIPHER_PBKDF2_HMAC_SHA256_LABEL ) == 0 ) {
@@ -407,7 +407,7 @@ int sqlcipher_codec_pragma(sqlite3* db, int iDb, Parse *pParse, const char *zLef
407407 }else
408408 if ( sqlite3StrICmp (zLeft ,"cipher_default_kdf_algorithm" )== 0 ){
409409 if (zRight ) {
410- int rc = SQLITE_ERROR ;
410+ rc = SQLITE_ERROR ;
411411 if (sqlite3StrICmp (zRight , SQLCIPHER_PBKDF2_HMAC_SHA1_LABEL ) == 0 ) {
412412 rc = sqlcipher_set_default_kdf_algorithm (SQLCIPHER_PBKDF2_HMAC_SHA1 );
413413 } else if (sqlite3StrICmp (zRight , SQLCIPHER_PBKDF2_HMAC_SHA256_LABEL ) == 0 ) {
0 commit comments