[gimp] file-save-pdf: Remove redundant code (cppcheck report)
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-save-pdf: Remove redundant code (cppcheck report)
- Date: Thu, 6 Sep 2012 02:01:40 +0000 (UTC)
commit dde1ed4d3c0af4c48f08d61120cbca11e20b8065
Author: Mukund Sivaraman <muks banu com>
Date: Thu Sep 6 07:23:05 2012 +0530
file-save-pdf: Remove redundant code (cppcheck report)
plug-ins/common/file-pdf-save.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c
index 6296845..a78ea79 100644
--- a/plug-ins/common/file-pdf-save.c
+++ b/plug-ins/common/file-pdf-save.c
@@ -1257,15 +1257,6 @@ get_drawable_image (GimpDrawable *drawable)
switch (bpp)
{
case 1: /* GRAY or INDEXED */
- if (! indexed)
- {
- format = CAIRO_FORMAT_RGB24;
- }
- else
- {
- format = CAIRO_FORMAT_RGB24;
- }
- break;
case 3: /* RGB */
format = CAIRO_FORMAT_RGB24;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]