[gnome-color-manager] trivial: remove three overzealous asserts in gcm_color_convert_XYZ_to_Yxy()
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: remove three overzealous asserts in gcm_color_convert_XYZ_to_Yxy()
- Date: Fri, 15 Oct 2010 16:53:05 +0000 (UTC)
commit 1ba0c19494a2897aadfbd0976c6ba4a4ed2bce07
Author: Richard Hughes <richard hughsie com>
Date: Fri Oct 15 17:52:57 2010 +0100
trivial: remove three overzealous asserts in gcm_color_convert_XYZ_to_Yxy()
libcolor-glib/gcm-color.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/libcolor-glib/gcm-color.c b/libcolor-glib/gcm-color.c
index 9a040ad..e3281ed 100644
--- a/libcolor-glib/gcm-color.c
+++ b/libcolor-glib/gcm-color.c
@@ -339,9 +339,6 @@ gcm_color_convert_XYZ_to_Yxy (const GcmColorXYZ *src, GcmColorYxy *dest)
g_return_if_fail (src != NULL);
g_return_if_fail (dest != NULL);
- g_assert (src->X >= 0.0f);
- g_assert (src->Y >= 0.0f);
- g_assert (src->Z >= 0.0f);
g_assert (src->X < 96.0f);
g_assert (src->Y < 100.0f);
g_assert (src->Z < 109.0f);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]