8008173: [parfait] #1173 Uninitialised variable -- TransformHelper.cpp
authorjgodinez
Thu, 14 Feb 2013 14:14:38 -0800
changeset 15966 258abbf3f19f
parent 15632 3d36eadad78f
child 15967 688298c47675
8008173: [parfait] #1173 Uninitialised variable -- TransformHelper.cpp Reviewed-by: prr, vadim Contributed-by: jia-hong.chen@oracle.com
jdk/src/share/native/sun/java2d/loops/TransformHelper.c
--- a/jdk/src/share/native/sun/java2d/loops/TransformHelper.c	Wed Feb 13 15:06:47 2013 -0800
+++ b/jdk/src/share/native/sun/java2d/loops/TransformHelper.c	Thu Feb 14 14:14:38 2013 -0800
@@ -353,6 +353,9 @@
         pInterpFunc = pBicubicFunc;
         maxlinepix = LINE_SIZE / 16;
         break;
+    default:
+        // Should not happen, but just in case.
+        return;
     }
 
     srcInfo.bounds.x1 = sx1;