summaryrefslogtreecommitdiff
path: root/src/Label.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-17 00:46:25 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-17 09:37:08 -0700
commit7e8ed65401fd140b8dbf8f0bad4849f2b204ccb5 (patch)
tree42fb9eec765a3cacfa01b96359fa46e83ecafe89 /src/Label.c
parent29ee09ca07a41c07723e87fa1581762dc35a4725 (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/Label.c')
-rw-r--r--src/Label.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Label.c b/src/Label.c
index c3f8e17..46b0465 100644
--- a/src/Label.c
+++ b/src/Label.c
@@ -528,7 +528,9 @@ Redisplay(Widget gw, XEvent *event, Region region)
int len = w->label.label_len;
char *label = w->label.label;
Position y = w->label.label_y + w->label.font->max_bounds.ascent;
+#ifdef XAW_INTERNATIONALIZATION
Position ksy = w->label.label_y;
+#endif
/* display left bitmap */
if (w->label.left_bitmap && w->label.lbm_width != 0) {