android/Context: fix typo in assert() variable name

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1644
This commit is contained in:
Max Kellermann 2022-10-14 22:57:08 +02:00
parent 31db04a3ca
commit 0626661764

View File

@ -46,7 +46,7 @@ Context::Initialise(JNIEnv *env) noexcept
AllocatedPath
Context::GetExternalFilesDir(JNIEnv *env, const char *type) noexcept
{
assert(_type != nullptr);
assert(type != nullptr);
jobject file = env->CallObjectMethod(Get(), getExternalFilesDir_method,
Java::String::Optional(env, type).Get());