From 28b2b17735ff4913659b958e0a2029cd0cfa3a7a Mon Sep 17 00:00:00 2001 From: ishmal Date: Thu, 1 Jun 2006 04:30:42 +0000 Subject: [PATCH] remove warnings --- src/color.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/color.cpp b/src/color.cpp index 4c64d84cd..2a6da863c 100644 --- a/src/color.cpp +++ b/src/color.cpp @@ -185,6 +185,7 @@ sp_color_get_rgba32_ualpha(SPColor const *color, guint32 alpha) alpha); } else { float rgb[3]; + rgb[0] = rgb[1] = rgb[2] = 0.0; sp_color_get_rgb_floatv (color, rgb); rgba = SP_RGBA32_U_COMPOSE(SP_COLOR_F_TO_U(rgb[0]), SP_COLOR_F_TO_U(rgb[1]), -- 2.30.2