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:
parent
0a9bf7fa59
commit
fec5929f8b
|
@ -703,7 +703,7 @@ int config_parse_tristate(
|
|||
return 0;
|
||||
}
|
||||
|
||||
*t = !!k;
|
||||
*t = k;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue