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:
Zbigniew Jędrzejewski-Szmek
2021-06-09 22:00:28 +02:00
parent 6923020ec1
commit 59ca71a93d
+1 -1
View File
@@ -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;