daemon-helper: remove unused variables

They were backported from 229bebfae9 ('nm-daemon-helper: add "service"
argument') but they are not needed in this branch because they were only
used by c42f6f0997 ('daemon-helper: use _nm_strerror_r() to avoid
non-thread-safe strerror()') which is not backported.

As they are unused they trigger a warning, remove them.
This commit is contained in:
Íñigo Huguet 2024-08-28 10:08:45 +02:00
parent 29de766b9e
commit c49c8fb488

View file

@ -112,9 +112,6 @@ cmd_resolve_address(void)
printf("%s", name);
return RETURN_SUCCESS;
} else if (ret == EAI_SYSTEM) {
char buf[1024];
int errsv = errno;
fprintf(stderr,
"getnameinfo() via service '%s' failed: %d (%s), system error: %d (%s)\n",
service,