[gimp] plug-ins: remove unused variable in file-pdf-save.c
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: remove unused variable in file-pdf-save.c
- Date: Sun, 5 Feb 2012 21:29:23 +0000 (UTC)
commit 9092c79ca2fb06ba53c2c318a4c9ba13224e83a9
Author: Michael Natterer <mitch gimp org>
Date: Sun Feb 5 22:27:15 2012 +0100
plug-ins: remove unused variable in file-pdf-save.c
plug-ins/common/file-pdf-save.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c
index f0a1bf5..7d896db 100644
--- a/plug-ins/common/file-pdf-save.c
+++ b/plug-ins/common/file-pdf-save.c
@@ -1227,7 +1227,7 @@ get_drawable_image (GimpDrawable *drawable)
gint stride;
gpointer pr;
gboolean indexed = FALSE;
- int bpp = drawable->bpp, cairo_bpp;
+ int bpp = drawable->bpp;
if (gimp_drawable_is_indexed (drawable_ID))
{
@@ -1247,23 +1247,19 @@ get_drawable_image (GimpDrawable *drawable)
if (! indexed)
{
format = CAIRO_FORMAT_RGB24;
- cairo_bpp = 3;
}
else
{
format = CAIRO_FORMAT_RGB24;
- cairo_bpp = 3;
}
break;
case 3: /* RGB */
format = CAIRO_FORMAT_RGB24;
- cairo_bpp = 3;
break;
case 2: /* GRAYA or INDEXEDA */
case 4: /* RGBA */
format = CAIRO_FORMAT_ARGB32;
- cairo_bpp = 4;
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]