< prev index next >
src/windows/native/sun/windows/awt_Font.cpp
Print this page
rev 1548 : 8157653: [Parfait] Uninitialised variable in awt_Font.cpp
Reviewed-by: serb, ssadetsky
*** 601,611 ****
}
int AwtFont::getFontDescriptorNumber(JNIEnv *env, jobject font,
jobject fontDescriptor)
{
! int i, num;
jobject refFontDescriptor;
jobjectArray array;
if (env->EnsureLocalCapacity(2) < 0)
return 0;
--- 601,611 ----
}
int AwtFont::getFontDescriptorNumber(JNIEnv *env, jobject font,
jobject fontDescriptor)
{
! int i, num = 0;
jobject refFontDescriptor;
jobjectArray array;
if (env->EnsureLocalCapacity(2) < 0)
return 0;
< prev index next >