From 06266617646369b51632b9d456c8772360bb5d7d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 14 Oct 2022 22:57:08 +0200 Subject: [PATCH] android/Context: fix typo in assert() variable name Closes https://github.com/MusicPlayerDaemon/MPD/issues/1644 --- src/android/Context.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/Context.cxx b/src/android/Context.cxx index ebeda6ec4..45bf0a347 100644 --- a/src/android/Context.cxx +++ b/src/android/Context.cxx @@ -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());