diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-17 00:46:25 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-17 09:37:08 -0700 |
commit | 7e8ed65401fd140b8dbf8f0bad4849f2b204ccb5 (patch) | |
tree | 42fb9eec765a3cacfa01b96359fa46e83ecafe89 /src/Text.c | |
parent | 29ee09ca07a41c07723e87fa1581762dc35a4725 (diff) |
Fix several unused variable warnings
All but one are due to variables defined outside #ifdef's but only
used inside #ifdef'ed code blocks.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/Text.c')
-rw-r--r-- | src/Text.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -804,12 +804,12 @@ _XawTextGetSTRING(TextWidget ctx, XawTextPosition left, XawTextPosition right) unsigned char *s; unsigned char c; long i, j, n; - wchar_t *ws, wc; /* allow ESC in accordance with ICCCM */ #ifdef XAW_INTERNATIONALIZATION if (_XawTextFormat(ctx) == XawFmtWide) { MultiSinkObject sink = (MultiSinkObject) ctx->text.sink; + wchar_t *ws, wc; ws = (wchar_t *)_XawTextGetText(ctx, left, right); n = wcslen(ws); for (j = 0, i = 0; j < n; j++) { |