networkd: drop one workaround initialization
As for the other ones in src/network/, if they are removed, gcc warns when they are removed. Should fix Coverity CID#1457466.
This commit is contained in:
@@ -692,7 +692,7 @@ int link_request_to_set_master(Link *link) {
|
||||
}
|
||||
|
||||
int link_request_to_set_mtu(Link *link, uint32_t mtu) {
|
||||
Request *req = NULL; /* avoid false maybe-uninitialized warning */
|
||||
Request *req;
|
||||
const char *origin;
|
||||
uint32_t min_mtu;
|
||||
int r;
|
||||
|
||||
Reference in New Issue
Block a user