From 51d78689eaa9c675687a434438e38ffb80bb4c7b Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 27 Feb 2021 00:11:08 +0100 Subject: [PATCH] TT#111150 Remove redundant initialization No need to initialize the variable twice. Change-Id: If2ab3fb0b981d4799a88657c7ba918ae10051720 Warned-by: cppcheck (redundantInitialization) --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 6c08868..e777247 100644 --- a/config.c +++ b/config.c @@ -354,7 +354,7 @@ static void config_set_defaults(void) static int config_parse_line(char *line) { - char *sep = line; + char *sep; const char *value; struct option *option;