From 24e3eaf0bc809fea1579244b947c7f8044c38421 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Mon, 17 Nov 2014 11:52:05 -0500 Subject: [PATCH] find_column_option_info: drop unused variable This was introduced by 271fd86 (Refactor view column option lookup to make it reusable, 2014-11-08), but is not used. --- src/options.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/options.c b/src/options.c index e87db54..e298956 100644 --- a/src/options.c +++ b/src/options.c @@ -91,8 +91,6 @@ find_column_option_info(enum view_column_type type, union view_column_options *o const char *option, struct option_info *column_info, const char **column_name) { - size_t optionlen = strlen(option); - #define DEFINE_COLUMN_OPTION_INFO(name, type, flags) \ { #name, STRING_SIZE(#name), #type, &opt->name, flags }, -- 2.11.4.GIT