shared/conf-parser: drop redundant cast to boolean

parse_boolean returns either 0 or 1 or error, and we checked for errors
earlier already.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-09-22 13:05:31 +02:00
parent 0a9bf7fa59
commit fec5929f8b
1 changed files with 1 additions and 1 deletions

View File

@ -703,7 +703,7 @@ int config_parse_tristate(
return 0;
}
*t = !!k;
*t = k;
return 0;
}