Changeset 4130


Ignore:
Timestamp:
12/14/09 19:27:49 (3 years ago)
Author:
sam
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.