diff options
author | hobbs <hobbs@noemail.net> | 2003-02-18 21:54:17 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2003-02-18 21:54:17 (GMT) |
commit | b3fdd0e2273dd9d08b0f56d08833447407ec7481 (patch) | |
tree | 9056f73da0f0f0eeaa174304b710bee1e18a48bf /generic/tkCanvPs.c | |
parent | 7359fc3379bf44de9fe2ae9dda27e171b6e3489b (diff) | |
download | tk-b3fdd0e2273dd9d08b0f56d08833447407ec7481.zip tk-b3fdd0e2273dd9d08b0f56d08833447407ec7481.tar.gz tk-b3fdd0e2273dd9d08b0f56d08833447407ec7481.tar.bz2 |
(TkPostscriptImage): remove unused depth var. [Bug #664787]
FossilOrigin-Name: c1856ca77a2e8d1d389f460d8cc8634817d6ddc8
Diffstat (limited to 'generic/tkCanvPs.c')
-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); /* |