summaryrefslogtreecommitdiff
path: root/libjava/java/awt/image/BufferedImage.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/image/BufferedImage.java')
-rw-r--r--libjava/java/awt/image/BufferedImage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/awt/image/BufferedImage.java b/libjava/java/awt/image/BufferedImage.java
index 9eba6fcb96c..d2f332d982b 100644
--- a/libjava/java/awt/image/BufferedImage.java
+++ b/libjava/java/awt/image/BufferedImage.java
@@ -62,7 +62,7 @@ public class BufferedImage extends java.awt.Image
public BufferedImage(int w, int h, int type)
{
- ColorModel cm;
+ ColorModel cm = null;
boolean alpha = false;
boolean premultiplied = false;
@@ -85,7 +85,7 @@ public class BufferedImage extends java.awt.Image
case TYPE_INT_ARGB_PRE:
case TYPE_USHORT_565_RGB:
case TYPE_USHORT_555_RGB:
- int[] masks;
+ int[] masks = null;
switch (type)
{
case TYPE_INT_RGB: