aboutsummaryrefslogtreecommitdiffstats
path: root/common/jpeg/jccolor.c
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2009-04-05 21:47:40 +0000
committerDRC <dcommander@users.sourceforge.net>2009-04-05 21:47:40 +0000
commitec36251df8fbcaedc5327ce0e3cd1c548e0a05ba (patch)
treedd0909ade8210a8510474792cfd41c7bce504db4 /common/jpeg/jccolor.c
parent3c186e9a7277eda7b3eae59da6c9155831c2f145 (diff)
downloadtigervnc-ec36251df8fbcaedc5327ce0e3cd1c548e0a05ba.tar.gz
tigervnc-ec36251df8fbcaedc5327ce0e3cd1c548e0a05ba.zip
Remove unnecessary code
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3755 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/jpeg/jccolor.c')
-rw-r--r--common/jpeg/jccolor.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/jpeg/jccolor.c b/common/jpeg/jccolor.c
index f20ed9de..8d3feb8d 100644
--- a/common/jpeg/jccolor.c
+++ b/common/jpeg/jccolor.c
@@ -371,12 +371,6 @@ jinit_color_converter (j_compress_ptr cinfo)
break;
case JCS_RGB:
-#if RGB_PIXELSIZE != 3
- if (cinfo->input_components != RGB_PIXELSIZE)
- ERREXIT(cinfo, JERR_BAD_IN_COLORSPACE);
- break;
-#endif /* else share code with YCbCr */
-
case JCS_EXT_RGB:
case JCS_EXT_RGBX:
case JCS_EXT_BGR: