diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-06-01 04:30:42 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-06-01 04:30:42 +0000 |
| commit | 5c4b498a1707cf728e167cdbdd4793f0475cef0a (patch) | |
| tree | 3e750ae2384fedc11e76e3184799dbf1838c0e7b /src/color.cpp | |
| parent | defocus text toolbar widgets, fixes 1494959 (diff) | |
| download | inkscape-5c4b498a1707cf728e167cdbdd4793f0475cef0a.tar.gz inkscape-5c4b498a1707cf728e167cdbdd4793f0475cef0a.zip | |
remove warnings
(bzr r1111)
Diffstat (limited to 'src/color.cpp')
| -rw-r--r-- | src/color.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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]), |
