Commit 715c6205 authored by Alex Cohn's avatar Alex Cohn Committed by GitHub

fixing error from clang

  djinni_support.cpp:485: error: unused parameter
parent 1d74e310
......@@ -482,7 +482,7 @@ std::string jniUTF8FromString(JNIEnv * env, const jstring jstr) {
}
template<int wcharTypeSize>
static std::wstring implUTF16ToWString(const char16_t * data, size_t length)
static std::wstring implUTF16ToWString(const char16_t * /*data*/, size_t /*length*/)
{
static_assert(wcharTypeSize == 2 || wcharTypeSize == 4, "wchar_t must be represented by UTF-16 or UTF-32 encoding");
return {}; // unreachable
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment