From b3065bdc03dd91561e35f91896aec8c64667d1a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Scharfe?= Date: Wed, 28 Mar 2012 22:18:37 +0200 Subject: config: remove useless assignment v1.7.9-8-g270a344 (config: stop using config_exclusive_filename) replaced config_exclusive_filename with given_config_file. In one case this resulted in a self-assignment, which is reported by clang as a warning. Remove the useless code. Signed-off-by: Rene Scharfe Acked-by: Jeff King Signed-off-by: Junio C Hamano --- builtin/config.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'builtin/config.c') diff --git a/builtin/config.c b/builtin/config.c index d41a9bfb14..33c8820af6 100644 --- a/builtin/config.c +++ b/builtin/config.c @@ -397,8 +397,6 @@ int cmd_config(int argc, const char **argv, const char *prefix) xstrdup(prefix_filename(prefix, strlen(prefix), given_config_file)); - else - given_config_file = given_config_file; } if (respect_includes == -1) -- cgit v1.2.3