summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-06-15 15:09:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-06-15 15:09:25 (GMT)
commit79b421b2d2376df456673a28471b1c4047f61090 (patch)
tree070e3b91e774ca131ccc48bb9f4f6796d94cd6c1
parent567f2734ba73ba48d33deba8ebf7139625a8af5d (diff)
downloadtk-79b421b2d2376df456673a28471b1c4047f61090.zip
tk-79b421b2d2376df456673a28471b1c4047f61090.tar.gz
tk-79b421b2d2376df456673a28471b1c4047f61090.tar.bz2
Add declarations of result... D'oh!
-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