summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2004-06-15 15:09:25 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2004-06-15 15:09:25 (GMT)
commiteee55fa06347c197db15979d0bcff40322d9ee4e (patch)
tree070e3b91e774ca131ccc48bb9f4f6796d94cd6c1 /generic
parentd7576b5ac29e7f05baeb29a182c195ea1b57f982 (diff)
downloadtk-eee55fa06347c197db15979d0bcff40322d9ee4e.zip
tk-eee55fa06347c197db15979d0bcff40322d9ee4e.tar.gz
tk-eee55fa06347c197db15979d0bcff40322d9ee4e.tar.bz2
Add declarations of result... D'oh!
Diffstat (limited to 'generic')
-rw-r--r--generic/tkCanvas.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 88fe989..a36e81a 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvas.c,v 1.27 2004/06/15 15:02:53 dkf Exp $
+ * RCS: @(#) $Id: tkCanvas.c,v 1.28 2004/06/15 15:09:25 dkf Exp $
*/
/* #define USE_OLD_TAG_SEARCH 1 */
@@ -3847,7 +3847,7 @@ FindItems(interp, canvasPtr, argc, argv, newTag, first, searchPtrPtr)
#endif /* USE_OLD_TAG_SEARCH */
Tk_Item *itemPtr;
Tk_Uid uid;
- int index;
+ int index, result;
static CONST char *optionStrings[] = {
"above", "all", "below", "closest",
"enclosed", "overlapping", "withtag", NULL
@@ -4178,6 +4178,7 @@ RelinkItems(canvasPtr, tag, prevPtr, searchPtrPtr)
TagSearch search;
#endif /* USE_OLD_TAG_SEARCH */
Tk_Item *firstMovePtr, *lastMovePtr;
+ int result;
/*
* Find all of the items to be moved and remove them from