changeset 31436:41c1e00e441f

8080163: Uninitialised variable in jdk/src/java/desktop/share/native/libfontmanager/layout/LookupProcessor.cpp Reviewed-by: serb, srl
author prr
date Mon, 15 Jun 2015 11:01:43 -0700
parents 012c1c0bf5d6
children 8cebff228261
files jdk/src/java.desktop/share/native/libfontmanager/layout/LookupProcessor.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.desktop/share/native/libfontmanager/layout/LookupProcessor.cpp	Mon Jun 15 14:43:31 2015 +0300
+++ b/jdk/src/java.desktop/share/native/libfontmanager/layout/LookupProcessor.cpp	Mon Jun 15 11:01:43 2015 -0700
@@ -175,7 +175,7 @@
   LEReferenceTo<LangSysTable> langSysTable;
     le_uint16 featureCount = 0;
     le_uint16 lookupListCount = 0;
-    le_uint16 requiredFeatureIndex;
+    le_uint16 requiredFeatureIndex = 0xFFFF;
 
     if (LE_FAILURE(success)) {
         return;