mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-3304 jbr-dev warnings: 'getPhysFontName' defined but not used [-Werror=unused-function]
Removed unused code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user