diff options
author | hobbs <hobbs> | 2003-02-18 21:54:18 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2003-02-18 21:54:18 (GMT) |
commit | d763f16c04047c89e86418878b95fe1d7c0e1f36 (patch) | |
tree | 9056f73da0f0f0eeaa174304b710bee1e18a48bf /generic | |
parent | 2eec0142e43cf37b370611573d0a5ff58d1e0e2c (diff) | |
download | tk-d763f16c04047c89e86418878b95fe1d7c0e1f36.zip tk-d763f16c04047c89e86418878b95fe1d7c0e1f36.tar.gz tk-d763f16c04047c89e86418878b95fe1d7c0e1f36.tar.bz2 |
(TkPostscriptImage): remove unused depth var. [Bug #664787]
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkCanvPs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tkCanvPs.c b/generic/tkCanvPs.c index d32434f..e987b5d 100644 --- a/generic/tkCanvPs.c +++ b/generic/tkCanvPs.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkCanvPs.c,v 1.12 2002/10/10 21:01:17 hobbs Exp $ + * RCS: @(#) $Id: tkCanvPs.c,v 1.13 2003/02/18 21:54:18 hobbs Exp $ */ #include "tkInt.h" @@ -1209,7 +1209,7 @@ TkPostscriptImage(interp, tkwin, psInfo, ximage, x, y, width, height) int bytesPerLine=0, maxWidth=0; int level = psInfoPtr->colorLevel; Colormap cmap; - int i, depth, ncolors; + int i, ncolors; Visual *visual; TkColormapData cdata; @@ -1218,7 +1218,6 @@ TkPostscriptImage(interp, tkwin, psInfo, ximage, x, y, width, height) } cmap = Tk_Colormap(tkwin); - depth = Tk_Depth(tkwin); visual = Tk_Visual(tkwin); /* |