summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixEvent.c
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 /unix/tkUnixEvent.c
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")
Diffstat (limited to 'unix/tkUnixEvent.c')
-rw-r--r--unix/tkUnixEvent.c5
1 files changed, 2 insertions, 3 deletions
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;
}