From: Jonas Fonseca Date: Tue, 23 Mar 2010 01:58:30 +0000 (-0400) Subject: Silence warning about unused computed value X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b13787bfdde904c42c3603ce7ce0bf595bd7a80f;p=tig.git Silence warning about unused computed value --- diff --git a/tig.c b/tig.c index e3de805..d9d3c21 100644 --- a/tig.c +++ b/tig.c @@ -2127,7 +2127,7 @@ static inline void set_view_attr(struct view *view, enum line_type type) { if (!view->curline->selected && view->curtype != type) { - wattrset(view->win, get_line_attr(type)); + (void) wattrset(view->win, get_line_attr(type)); wchgat(view->win, -1, 0, type, NULL); view->curtype = type; }