diff --git a/android/jni/com/mapswithme/maps/ugc/UGC.cpp b/android/jni/com/mapswithme/maps/ugc/UGC.cpp index 8e4bf90994..79ee1cceda 100644 --- a/android/jni/com/mapswithme/maps/ugc/UGC.cpp +++ b/android/jni/com/mapswithme/maps/ugc/UGC.cpp @@ -26,11 +26,9 @@ public: Init(env); jstring jcountryName = static_cast(env->GetObjectField(obj, m_countryName)); - jlong jversion = env->GetLongField(obj, m_version); jint jindex = env->GetIntField(obj, m_index); auto const countryName = jni::ToNativeString(env, jcountryName); - auto const version = static_cast(jversion); auto const index = static_cast(jindex); auto const & ds = g_framework->GetDataSource();