util: Remove duplicate assignments of rv to NULL

This commit is contained in:
Erik Ekman 2021-08-25 22:05:19 +02:00
parent 853d5f3764
commit 3818a59541
1 changed files with 0 additions and 4 deletions

View File

@ -36,9 +36,6 @@ char *get_resolvconf_addr(void)
rv = addr;
pclose(fp);
#else
rv = NULL;
if ((fp = fopen("/etc/resolv.conf", "r")) == NULL)
err(1, "/etc/resolv.conf");
@ -58,7 +55,6 @@ char *get_resolvconf_addr(void)
ULONG buflen;
DWORD ret;
rv = NULL;
fixed_info = malloc(sizeof(FIXED_INFO));
buflen = sizeof(FIXED_INFO);