diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-01-13 16:24:45 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-13 17:14:15 -0600 |
commit | c4af120f5f180f79f671f6703a3b71209d89c010 (patch) | |
tree | 514b5875f7e943b0e026e17cfb7fb9cd09572fdf /hw/vga.c | |
parent | d7209371b1563407c2ba5b474f31cd32a9b0fd3f (diff) |
hw/vga.c: remove dead assignment
clang-analyzer points out a redundant assignment.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vga.c')
-rw-r--r-- | hw/vga.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1303,7 +1303,6 @@ static void vga_draw_text(VGACommonState *s, int full_update) line_offset = s->line_offset; vga_get_text_resolution(s, &width, &height, &cw, &cheight); - x_incr = cw * ((ds_get_bits_per_pixel(s->ds) + 7) >> 3); if ((height * width) > CH_ATTR_SIZE) { /* better than nothing: exit if transient size is too big */ return; |