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:
@@ -703,7 +703,7 @@ int config_parse_tristate(
|
||||
return 0;
|
||||
}
|
||||
|
||||
*t = !!k;
|
||||
*t = k;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user