diff options
author | dgp <dgp@users.sourceforge.net> | 2004-06-08 20:28:19 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-06-08 20:28:19 (GMT) |
commit | 3588e9bb50fc4405a0c6d00631c2317b95f45257 (patch) | |
tree | 19316394432448d84d95a9069c57a13f7d7fed04 /generic/tkTextDisp.c | |
parent | c7e041cfd4f24255e924362fb73214caaf51f5de (diff) | |
download | tk-3588e9bb50fc4405a0c6d00631c2317b95f45257.zip tk-3588e9bb50fc4405a0c6d00631c2317b95f45257.tar.gz tk-3588e9bb50fc4405a0c6d00631c2317b95f45257.tar.bz2 |
Silence compiler warnings
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r-- | generic/tkTextDisp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index 6532868..ef977bb 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkTextDisp.c,v 1.42 2004/06/07 16:23:52 vincentdarley Exp $ + * RCS: @(#) $Id: tkTextDisp.c,v 1.43 2004/06/08 20:28:19 dgp Exp $ */ #include "tkPort.h" @@ -6120,7 +6120,6 @@ DlineXOfIndex(textPtr, dlPtr, byteIndex) * coordinate. */ { register TkTextDispChunk *chunkPtr = dlPtr->chunkPtr; - TkTextIndex index; int x; if (byteIndex == 0 || chunkPtr == NULL) return 0; @@ -6130,7 +6129,6 @@ DlineXOfIndex(textPtr, dlPtr, byteIndex) * the desired byte index. */ - index = dlPtr->index; chunkPtr = dlPtr->chunkPtr; while (byteIndex > 0) { if (byteIndex < chunkPtr->numBytes) { |