From b13787bfdde904c42c3603ce7ce0bf595bd7a80f Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Mon, 22 Mar 2010 21:58:30 -0400 Subject: [PATCH] Silence warning about unused computed value --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2