Ignore:
Timestamp:
Dec 14, 2009, 7:27:49 PM (8 years ago)
Author:
Sam Hocevar
Message:

Fix the old "value computed is unused" warning triggered by ncurses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver/ncurses.c

    r3587 r4130  
    366366            for(x = dx; x < dx + dw; x++)
    367367            {
    368                 /* FIXME: this emits a "value computed is unused" warning */
    369                 attrset(dp->drv.p->attr[caca_attr_to_ansi(*cvattrs++)]);
     368                (void)attrset(dp->drv.p->attr[caca_attr_to_ansi(*cvattrs++)]);
    370369                ncurses_write_utf32(*cvchars++);
    371370            }
Note: See TracChangeset for help on using the changeset viewer.