[gimp] file-ps: Remove dead assignment (and variable)



commit a966a9ba2ebc6017c6cab2eb0e37ffd213339507
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Oct 4 14:24:49 2011 +0530

    file-ps: Remove dead assignment (and variable)

 plug-ins/common/file-ps.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-ps.c b/plug-ins/common/file-ps.c
index b1ec485..4561b69 100644
--- a/plug-ins/common/file-ps.c
+++ b/plug-ins/common/file-ps.c
@@ -2173,7 +2173,7 @@ save_ps_setup (FILE   *ofp,
 {
   double x_offset, y_offset, x_size, y_size;
   double urx, ury;
-  double x_scale, y_scale;
+  double x_scale;
   double width_inch, height_inch;
   double f1, f2, dx, dy;
   int xtrans, ytrans;
@@ -2246,7 +2246,6 @@ save_ps_setup (FILE   *ofp,
       break;
     case  90: dx = dy = 0.0;
       x_scale = 72.0 * width_inch;
-      y_scale = -72.0 * height_inch;
       break;
     case 180: dx = x_size*72.0; dy = 0.0;
       break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]