From: Jonas Fonseca Date: Mon, 12 Apr 2010 02:43:26 +0000 (-0400) Subject: Remove unused VIEW_REQ() macro X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f46dbb1bc906778758fd8d99b42b003b5c95133;p=tig.git Remove unused VIEW_REQ() macro --- diff --git a/tig.c b/tig.c index 9a4a751..9b50261 100644 --- a/tig.c +++ b/tig.c @@ -2267,7 +2267,6 @@ static struct view views[] = { }; #define VIEW(req) (&views[(req) - REQ_OFFSET - 1]) -#define VIEW_REQ(view) ((view) - views + REQ_OFFSET + 1) #define foreach_view(view, i) \ for (i = 0; i < ARRAY_SIZE(views) && (view = &views[i]); i++)