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 <rene.scharfe@lsrfire.ath.cx> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
René Scharfe committed
Mar 28, 2012 at 22:18 UTC
b3065bdc03dd91561e35f91896aec8c64667d1a9
1 file changed
-2
builtin/config.c
-2
@@ -397,8 +397,6 @@ int cmd_config(int argc, const char **argv, const char *prefix)
397
xstrdup(prefix_filename(prefix,
398
strlen(prefix),
399
given_config_file));
400
- else
401
- given_config_file = given_config_file;
400
}
401
402
if (respect_includes == -1)