summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-02-18 21:54:41 (GMT)
committerhobbs <hobbs>2003-02-18 21:54:41 (GMT)
commit06636523d918e2b7517dcc3a5c349d3eedd19694 (patch)
tree154d7038aa0a8bc47bb80e39eea0cffe21999428 /generic/tkEntry.c
parentd763f16c04047c89e86418878b95fe1d7c0e1f36 (diff)
downloadtk-06636523d918e2b7517dcc3a5c349d3eedd19694.zip
tk-06636523d918e2b7517dcc3a5c349d3eedd19694.tar.gz
tk-06636523d918e2b7517dcc3a5c349d3eedd19694.tar.bz2
(EntrySetValue): removed unused code var. [Bug #664781]
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;
/*