Pārlūkot izejas kodu

Add a comment to the ncurses driver to remember fix the GCC warning.

tags/v0.99.beta17
Sam Hocevar sam pirms 15 gadiem
vecāks
revīzija
ed360faabe
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      caca/driver/ncurses.c

+ 1
- 0
caca/driver/ncurses.c Parādīt failu

@@ -365,6 +365,7 @@ static void ncurses_display(caca_display_t *dp)
move(y, dx);
for(x = dx; x < dx + dw; x++)
{
/* FIXME: this emits a "value computed is unused" warning */
attrset(dp->drv.p->attr[caca_attr_to_ansi(*cvattrs++)]);
ncurses_write_utf32(*cvchars++);
}


Notiek ielāde…
Atcelt
Saglabāt