JBR-3304 jbr-dev warnings: 'getPhysFontName' defined but not used [-Werror=unused-function]

Removed unused code
This commit is contained in:
Alexey Ushakov
2021-04-13 20:15:19 +03:00
committed by jbrbot
parent 244ac82245
commit dd1c36774b

View File

@@ -322,12 +322,6 @@ static FT_Error FT_Library_SetLcdFilter_Proxy(FT_Library library, FT_LcdFilter
#endif
}
static char* getPhysFontName(JNIEnv *env, jobject font2d) {
jstring jstr;
jstr = (*env)->GetObjectField(env, font2d, platNameFID);
return (char*)(*env)->GetStringUTFChars(env, jstr, NULL);
}
static int getScreenResolution(JNIEnv *env) {
/*
* Actual screen dpi is necessary only for fontconfig requests