On a Monday in 2022, Peter Krempa wrote:
Convert the individual 'if' clauses to a swtich statement.
s/swtich/switch/
By moving the check that 'source_node' is non-null inside of each case rather we will be able to move more type specific code into the swithc
s/swithc/switch/
statemen when it will be refactored in subsequent patches.
s/statemen/statement/
Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- src/conf/domain_conf.c | 71 +++++++++++++++++++++++++++++------------- 1 file changed, 50 insertions(+), 21 deletions(-)
Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx> Jano