aboutsummaryrefslogtreecommitdiffstats
path: root/drv_D4D.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-07-27 05:12:30 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-07-27 05:12:30 +0000
commit7318d07f8950d3469d76537ce1d96f863085ba7c (patch)
tree361d3b09b28e6847784781c70323af5dab2745c3 /drv_D4D.c
parent616665a32d0e4eb368c6346168e91cfeda42583f (diff)
downloadlcd4linux-7318d07f8950d3469d76537ce1d96f863085ba7c.tar.gz
various compiler warnings fixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1153 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_D4D.c')
-rwxr-xr-xdrv_D4D.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drv_D4D.c b/drv_D4D.c
index 253ec2a..52d0e8f 100755
--- a/drv_D4D.c
+++ b/drv_D4D.c
@@ -533,12 +533,16 @@ int drv_D4D_bar_draw(WIDGET * W)
WIDGET_BAR *Bar = W->data;
int row, col, len, res, max, val1, val2;
DIRECTION dir;
- STYLE style;
+#if 0
+ STYLE style; /* Fixme: unused variable */
+#endif
row = W->row;
col = W->col;
dir = Bar->direction;
- style = Bar->style;
+#if 0
+ style = Bar->style; /* Fixme: unused variable */
+#endif
len = Bar->length;
res = dir & (DIR_EAST | DIR_WEST) ? XRES : YRES;