Commit 48729e77 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

libgimpcolor/gimpbilinear.c fix some uninitialized stuff gcc 4.0 was

2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpcolor/gimpbilinear.c
	* libgimpwidgets/gimppreviewarea.c: fix some uninitialized stuff
	gcc 4.0 was choking about.
parent a3371b1f
2005-07-08 Michael Natterer <mitch@gimp.org>
* libgimpcolor/gimpbilinear.c
* libgimpwidgets/gimppreviewarea.c: fix some uninitialized stuff
gcc 4.0 was choking about.
2005-07-08 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimppageselector.c (gimp_page_selector_class_init):
......
......@@ -127,7 +127,7 @@ gimp_bilinear_rgb (gdouble x,
{
gdouble m0, m1;
gdouble ix, iy;
GimpRGB v;
GimpRGB v = { 0, };
g_return_val_if_fail (values != NULL, v);
......@@ -174,7 +174,7 @@ gimp_bilinear_rgba (gdouble x,
gdouble m0, m1;
gdouble ix, iy;
gdouble a0, a1, a2, a3, alpha;
GimpRGB v;
GimpRGB v = { 0, };
g_return_val_if_fail (values != NULL, v);
......
......@@ -820,7 +820,7 @@ gimp_preview_area_blend (GimpPreviewArea *area,
for (col = x; col < x + width; col++, s1 += 2, s2 += 2, d+= 3)
{
guchar inter[2];
guchar inter[2] = { 0, };
if (s1[1] == s2[1])
{
......@@ -1306,7 +1306,7 @@ gimp_preview_area_mask (GimpPreviewArea *area,
default:
{
guchar inter[2];
guchar inter[2] = { 0, };
if (s1[1] == s2[1])
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment