summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2003-02-18 21:54:40 (GMT)
committerhobbs <hobbs@noemail.net>2003-02-18 21:54:40 (GMT)
commit70a5128763ad85e75c16144e982a75be5effd29f (patch)
tree154d7038aa0a8bc47bb80e39eea0cffe21999428 /generic/tkEntry.c
parentb3fdd0e2273dd9d08b0f56d08833447407ec7481 (diff)
downloadtk-70a5128763ad85e75c16144e982a75be5effd29f.zip
tk-70a5128763ad85e75c16144e982a75be5effd29f.tar.gz
tk-70a5128763ad85e75c16144e982a75be5effd29f.tar.bz2
(EntrySetValue): removed unused code var. [Bug #664781]
FossilOrigin-Name: 819bfbbe2e0896bec23365edea92d3e09b629fdb
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r--generic/tkEntry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c
index f20f704..de75c2b 100644
--- a/generic/tkEntry.c
+++ b/generic/tkEntry.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkEntry.c,v 1.33 2002/12/09 00:32:45 hobbs Exp $
+ * RCS: @(#) $Id: tkEntry.c,v 1.34 2003/02/18 21:54:41 hobbs Exp $
*/
#include "tkInt.h"
@@ -2509,7 +2509,7 @@ EntrySetValue(entryPtr, value)
CONST char *value; /* New text to display in entry. */
{
CONST char *oldSource;
- int code, valueLen, malloced = 0;
+ int valueLen, malloced = 0;
if (strcmp(value, entryPtr->string) == 0) {
return;
@@ -2530,7 +2530,7 @@ EntrySetValue(entryPtr, value)
malloced = 1;
entryPtr->flags |= VALIDATE_VAR;
- code = EntryValidateChange(entryPtr, (char *) NULL, value, -1,
+ (void) EntryValidateChange(entryPtr, (char *) NULL, value, -1,
VALIDATE_FORCED);
entryPtr->flags &= ~VALIDATE_VAR;
/*