aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-06-17 22:36:25 +0200
committerMattias Andrée <maandree@kth.se>2017-06-17 22:36:25 +0200
commit4d2083c8d98870b105fb2cd708066b5535e7cedd (patch)
tree7cc833dbfccd8cfdb569554494e8d4fb7cb70681
parentm (diff)
downloadlibcolour-4d2083c8d98870b105fb2cd708066b5535e7cedd.tar.gz
libcolour-4d2083c8d98870b105fb2cd708066b5535e7cedd.tar.bz2
libcolour-4d2083c8d98870b105fb2cd708066b5535e7cedd.tar.xz
Remove noop operation
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--libcolour-template.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcolour-template.c b/libcolour-template.c
index bfbbd3e..f7149c9 100644
--- a/libcolour-template.c
+++ b/libcolour-template.c
@@ -157,9 +157,6 @@ get_primaries(libcolour_rgb_t *cs)
memcpy(M[1], M[1] + 3, 3 * sizeof(TYPE)), M[1][3] = Sg;
memcpy(M[2], M[2] + 3, 3 * sizeof(TYPE)), M[2][3] = Sb;
- if (eliminate(M, 3, 4))
- return -1;
-
w.ciexyz.X = M[0][3];
w.ciexyz.Y = M[1][3];
w.ciexyz.Z = M[2][3];