libgimpmath/gimpvector.c shut up some compiler warnings.

* libgimpmath/gimpvector.c
* libgimpconfig/gimpconfig-deserialize.c: shut up some compiler warnings.
This commit is contained in:
David Odin 2005-12-30 18:35:49 +00:00
parent eef4ea03eb
commit 866c224d68
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-12-30 DindinX <dindinx@gimp.org>
* libgimpmath/gimpvector.c
* libgimpconfig/gimpconfig-deserialize.c: shut up some compiler
warnings.
2005-12-30 DindinX <dindinx@gimp.org>
* plug-ins/ifscompose/ifscompose_utils.c: fixed some compiler warnings

View File

@ -214,7 +214,7 @@ gimp_config_deserialize_property (GimpConfig *config,
{
GTypeClass *owner_class;
GimpConfigInterface *config_iface;
GimpConfigInterface *parent_iface;
GimpConfigInterface *parent_iface = NULL;
GParamSpec *prop_spec;
GTokenType token = G_TOKEN_RIGHT_PAREN;
GValue value = { 0, };

View File

@ -1018,6 +1018,7 @@ gimp_vector_2d_to_3d_val (gint sx,
result.y = (gdouble) (y - sy) / (gdouble) h;
}
result.z = 0;
return result;
}