changeset 7852:f6eb212081b2

8008173: [parfait] #1173 Uninitialised variable -- TransformHelper.cpp Reviewed-by: prr, vadim Contributed-by: jia-hong.chen@oracle.com
author jgodinez
date Thu, 14 Feb 2013 14:14:38 -0800
parents 6df3acd02449
children 4b11045a9c4c
files src/share/native/sun/java2d/loops/TransformHelper.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/java2d/loops/TransformHelper.c	Wed Feb 13 15:06:47 2013 -0800
+++ b/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;