summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixEvent.c
diff options
context:
space:
mode:
authorjenglish@flightlab.com <jenglish>2003-01-10 20:23:16 (GMT)
committerjenglish@flightlab.com <jenglish>2003-01-10 20:23:16 (GMT)
commitd2fe56264560a0a2c22bc7208b9e3174397aa08f (patch)
treefd2278897512ac45b393feda1e4f99098e4b54fc /unix/tkUnixEvent.c
parent1c280dac139eb3a46d35c3ee650d328dbf9a663c (diff)
downloadtk-d2fe56264560a0a2c22bc7208b9e3174397aa08f.zip
tk-d2fe56264560a0a2c22bc7208b9e3174397aa08f.tar.gz
tk-d2fe56264560a0a2c22bc7208b9e3174397aa08f.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;
}