Code

Remove unused VIEW_REQ() macro
authorJonas Fonseca <fonseca@diku.dk>
Mon, 12 Apr 2010 02:43:26 +0000 (22:43 -0400)
committerJonas Fonseca <fonseca@diku.dk>
Thu, 15 Apr 2010 11:20:18 +0000 (07:20 -0400)
tig.c

diff --git a/tig.c b/tig.c
index 9a4a75174f120042ae84ba17ba6c9309b2de8de6..9b50261ab5c8738d17ea3ed239dce1a5bcf86b06 100644 (file)
--- 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++)