summaryrefslogtreecommitdiffstats
path: root/unix
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)
commitff634408916508ea39d132c6499f04cff39a167f (patch)
treefd2278897512ac45b393feda1e4f99098e4b54fc /unix
parente52073263018c5b1bbb6e7b387d25189ee0f4cd3 (diff)
downloadtk-ff634408916508ea39d132c6499f04cff39a167f.zip
tk-ff634408916508ea39d132c6499f04cff39a167f.tar.gz
tk-ff634408916508ea39d132c6499f04cff39a167f.tar.bz2
unix/tkUnixEvent.c (OpenIM): Remove unused variable
(Fixes: #664780 "SGI warning: OpenIM")
Diffstat (limited to 'unix')
-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;
}