summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--unix/tkUnixEvent.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3857b9c..ace4091 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-10 Joe English <jenglish@users.sourceforge.net>
+ * unix/tkUnixEvent.c (OpenIM): Remove unused variable
+ (Fixes: #664780 "SGI warning: OpenIM")
+
2003-01-08 D. Richard Hipp <drh@hwaci.com>
* generic/tkCanvLine.c:
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c
index acdf97b..eeaa481 100644
--- a/unix/tkUnixEvent.c
+++ b/unix/tkUnixEvent.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixEvent.c,v 1.10 2002/09/15 20:38:18 mdejong Exp $
+ * RCS: @(#) $Id: tkUnixEvent.c,v 1.11 2003/01/10 20:23:17 jenglish Exp $
*/
#include "tkInt.h"
@@ -584,9 +584,8 @@ OpenIM(dispPtr)
{
unsigned short i;
XIMStyles *stylePtr;
- char *modifier_list;
- if ((modifier_list = XSetLocaleModifiers("")) == NULL) {
+ if (XSetLocaleModifiers("") == NULL) {
goto error;
}