[babl] babl: remove dead code
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] babl: remove dead code
- Date: Sat, 1 Dec 2018 20:36:13 +0000 (UTC)
commit 590301cfc9dd2549178267ea4b433bcd617150db
Author: Øyvind Kolås <pippin gimp org>
Date: Sat Dec 1 21:35:23 2018 +0100
babl: remove dead code
babl/babl-space.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/babl/babl-space.c b/babl/babl-space.c
index fcadc8c..174afc5 100644
--- a/babl/babl-space.c
+++ b/babl/babl-space.c
@@ -247,7 +247,7 @@ _babl_space_for_lcms (const char *icc_data, int icc_length)
}
/* initialize it with copy of srgb content */
- if(1){
+ {
const BablSpace *srgb = &babl_space("sRGB")->space;
memcpy (&space.xw,
&srgb->xw,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]