Commit abbc854e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Unused variable

parent 61ce5ee8
...@@ -402,9 +402,7 @@ static int SaveConfigFile (vlc_object_t *p_this) ...@@ -402,9 +402,7 @@ static int SaveConfigFile (vlc_object_t *p_this)
while ((linelen = getline (&line, &bufsize, file)) != -1) while ((linelen = getline (&line, &bufsize, file)) != -1)
{ {
char *p_index2; if ((line[0] == '[') && (strchr (line,']') != NULL))
if ((line[0] == '[') && (p_index2 = strchr(line,']')))
{ {
module_t *module; module_t *module;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment