libtiff: * tools/tiff2pdf.c: remove invalid duplication for Lab

https://github.com/libsdl-org/libtiff/commit/6126c47d8365eed08ad5f565950866feab0cf360

From 6126c47d8365eed08ad5f565950866feab0cf360 Mon Sep 17 00:00:00 2001
From: Lee Howard <[EMAIL REDACTED]>
Date: Sun, 12 Dec 2010 06:59:00 +0000
Subject: [PATCH]         * tools/tiff2pdf.c: remove invalid duplication for
 Lab         http://bugzilla.maptools.org/show_bug.cgi?id=2162

---
 ChangeLog        |  5 +++++
 tools/tiff2pdf.c | 10 +---------
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f3d908da..166346c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-11  Lee Howard <faxguy@howardsilvan.com>
+
+	* tools/tiff2pdf.c: remove invalid duplication for Lab 
+	http://bugzilla.maptools.org/show_bug.cgi?id=2162
+
 2010-12-11  Lee Howard <faxguy@howardsilvan.com>
 
 	* libtiff/tif_jpeg.c: fix use of clumplines calculation
diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c
index ee97ad0b..c0bba31e 100644
--- a/tools/tiff2pdf.c
+++ b/tools/tiff2pdf.c
@@ -1,4 +1,4 @@
-/* $Id: tiff2pdf.c,v 1.37.2.17 2010-12-11 22:48:16 faxguy Exp $
+/* $Id: tiff2pdf.c,v 1.37.2.18 2010-12-12 06:59:00 faxguy Exp $
  *
  * tiff2pdf - converts a TIFF image to a PDF document
  *
@@ -4658,14 +4658,6 @@ tsize_t t2p_write_pdf_xobject_cs(T2P* t2p, TIFF* output){
 			Y_W = 1.0F;
 			buflen=sprintf(buffer, "[%.4f %.4f %.4f] \n", X_W, Y_W, Z_W);
 			written += t2pWriteFile(output, (tdata_t) buffer, buflen);
-			X_W = 0.3457F; /* 0.3127F; */ /* D50, commented D65 */
-			Y_W = 0.3585F; /* 0.3290F; */
-			Z_W = 1.0F - (X_W + Y_W);
-			X_W /= Y_W;
-			Z_W /= Y_W;
-			Y_W = 1.0F;
-			buflen=sprintf(buffer, "[%.4f %.4f %.4f] \n", X_W, Y_W, Z_W);
-			written += t2pWriteFile(output, (tdata_t) buffer, buflen);
 			written += t2pWriteFile(output, (tdata_t) "/Range ", 7);
 			buflen=sprintf(buffer, "[%d %d %d %d] \n", 
 				t2p->pdf_labrange[0],