diff options
author | dgp@users.sourceforge.net <dgp> | 2015-02-12 12:51:10 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2015-02-12 12:51:10 (GMT) |
commit | 774aa97ece5b80333d81535c33fd4a822ea5248b (patch) | |
tree | 587344f98f1985de320c58734134f3eee93b87f8 /generic/tkTextDisp.c | |
parent | 2c4fbdd62d39298cc42546628c37e8fa5dc35613 (diff) | |
download | tk-774aa97ece5b80333d81535c33fd4a822ea5248b.zip tk-774aa97ece5b80333d81535c33fd4a822ea5248b.tar.gz tk-774aa97ece5b80333d81535c33fd4a822ea5248b.tar.bz2 |
Silence some compiler warnings
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r-- | generic/tkTextDisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index 8cd5a9a..3edd5dc 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -6968,7 +6968,7 @@ DlineXOfIndex( * coordinate. */ { register TkTextDispChunk *chunkPtr = dlPtr->chunkPtr; - int x; + int x = 0; if (byteIndex == 0 || chunkPtr == NULL) { return 0; |