Skip to content

Commit ef6b53c

Browse files
smilesa-maurice
authored andcommitted
Fixed warning when compiling Android database library.
PiperOrigin-RevId: 250973890
1 parent a8fb68e commit ef6b53c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

database/src/android/mutable_data_android.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ size_t MutableDataInternal::GetChildrenCount() {
126126
const char* MutableDataInternal::GetKey() {
127127
JNIEnv* env = db_->GetApp()->GetJNIEnv();
128128
if (cached_key_.is_null()) {
129-
JNIEnv* env = db_->GetApp()->GetJNIEnv();
130129
jstring key_string = static_cast<jstring>(env->CallObjectMethod(
131130
obj_, mutable_data::GetMethodId(mutable_data::kGetKey)));
132131
if (util::LogException(env, kLogLevelError,

0 commit comments

Comments
 (0)