diff options
author | Ralf Corsépius <ralf.corsepius@rtems.org> | 2012-10-18 15:24:39 +0200 |
---|---|---|
committer | Ralf Corsépius <ralf.corsepius@rtems.org> | 2012-10-19 14:17:46 +0200 |
commit | 64d6f192c9ac758e97848635402a9f35792c279c (patch) | |
tree | ba017eed08d5cfd506c41e95f2b4469b9c5bfebd | |
parent | Make open_eth_txDaemon static. (diff) | |
download | rtems-64d6f192c9ac758e97848635402a9f35792c279c.tar.bz2 |
Eliminate unused var 'digit'.
-rw-r--r-- | c/src/libchip/display/disp_hcms29xx.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/c/src/libchip/display/disp_hcms29xx.c b/c/src/libchip/display/disp_hcms29xx.c index 123b0c4972..bb90e871b5 100644 --- a/c/src/libchip/display/disp_hcms29xx.c +++ b/c/src/libchip/display/disp_hcms29xx.c @@ -326,7 +326,7 @@ static rtems_status_code disp_hcms29xx_send_to_display bool char_avail; const struct disp_font_glyph *glyph_ptr; disp_font_t curr_font; - int i,digit,ret_cnt; + int i, ret_cnt; unsigned char c; /* @@ -382,9 +382,6 @@ static rtems_status_code disp_hcms29xx_send_to_display glyph_ptr = curr_font->latin1[' ']; } - digit = (softc_ptr->disp_param.rotate - ? DISP_HCMS29XX_DIGIT_CNT-1-i - : i); /* * send 5 bytes from (char *)glyph_ptr->bitmap to SPI */ |