libtiff: tiffcp: Fix incomprehensible setting of orientation tag (fixes #29)

From 1f133d1b3f493275ea37438c8733a7290f19b59d Mon Sep 17 00:00:00 2001
From: Su_Laus <[EMAIL REDACTED]>
Date: Sun, 1 May 2022 20:36:52 +0200
Subject: [PATCH] tiffcp: Fix incomprehensible setting of orientation tag
 (fixes #29)

---
 tools/tiffcp.c | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/tools/tiffcp.c b/tools/tiffcp.c
index fd129bb7..aed2ff4c 100644
--- a/tools/tiffcp.c
+++ b/tools/tiffcp.c
@@ -761,25 +761,6 @@ tiffcp(TIFF* in, TIFF* out)
 	 * Will copy `Orientation' tag from input image
 	 */
 	TIFFGetFieldDefaulted(in, TIFFTAG_ORIENTATION, &orientation);
-	switch (orientation) {
-		case ORIENTATION_BOTRIGHT:
-		case ORIENTATION_RIGHTBOT:	/* XXX */
-			TIFFWarning(TIFFFileName(in), "using bottom-left orientation");
-			orientation = ORIENTATION_BOTLEFT;
-		/* fall through... */
-		case ORIENTATION_LEFTBOT:	/* XXX */
-		case ORIENTATION_BOTLEFT:
-			break;
-		case ORIENTATION_TOPRIGHT:
-		case ORIENTATION_RIGHTTOP:	/* XXX */
-		default:
-			TIFFWarning(TIFFFileName(in), "using top-left orientation");
-			orientation = ORIENTATION_TOPLEFT;
-		/* fall through... */
-		case ORIENTATION_LEFTTOP:	/* XXX */
-		case ORIENTATION_TOPLEFT:
-			break;
-	}
 	TIFFSetField(out, TIFFTAG_ORIENTATION, orientation);
 	/*
 	 * Choose tiles/strip for the output image according to