[PATCH 1/3] network: Initialize variables in networkDnsmasqConfContents()

2022-05-23 Thread Michal Privoznik
In networkDnsmasqConfContents() there's a for() loop which initializes some variables in its initialization block. This makes both the loop() statement and variable declaration block look needlessly ugly. Speaking of variable declaration, also move some variables which are used only within blocks

[PATCH 1/3] network: Initialize variables in networkDnsmasqConfContents()

2021-12-09 Thread Michal Privoznik
In networkDnsmasqConfContents() there's a for() loop which initializes some variables in its initialization block. This makes both the loop() statement and variable declaration block look needlessly ugly. Speaking of variable declaration, also move some variables which are used only within blocks