summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2003-01-10 20:23:16 (GMT)
committerjenglish <jenglish@flightlab.com>2003-01-10 20:23:16 (GMT)
commita81260f307039c266028a91a4dfd11ab93d27497 (patch)
treefd2278897512ac45b393feda1e4f99098e4b54fc
parent312bb5b8f505e2c58e3b26091f65c731a9c97863 (diff)
downloadtk-a81260f307039c266028a91a4dfd11ab93d27497.zip
tk-a81260f307039c266028a91a4dfd11ab93d27497.tar.gz
tk-a81260f307039c266028a91a4dfd11ab93d27497.tar.bz2
unix/tkUnixEvent.c (OpenIM): Remove unused variable
(Fixes: #664780 "SGI warning: OpenIM")
-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;
}