mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 01:55:22 +03:00
silence warnings
This commit is contained in:
parent
57bd6899b3
commit
6e37cd2f4a
@ -1092,7 +1092,7 @@ int socket_read_message(sd_rtnl *rtnl) {
|
||||
struct nlmsghdr *new_msg;
|
||||
size_t len;
|
||||
int r;
|
||||
unsigned i;
|
||||
unsigned i = 0;
|
||||
|
||||
assert(rtnl);
|
||||
assert(rtnl->rbuffer);
|
||||
|
@ -140,7 +140,7 @@ void link_config_ctx_free(link_config_ctx *ctx) {
|
||||
|
||||
static int load_link(link_config_ctx *ctx, const char *filename) {
|
||||
_cleanup_free_ link_config *link = NULL;
|
||||
_cleanup_fclose_ FILE *file;
|
||||
_cleanup_fclose_ FILE *file = NULL;
|
||||
int r;
|
||||
|
||||
assert(ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user