mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-22 13:23:32 +02:00
util: Remove duplicate assignments of rv to NULL
This commit is contained in:
parent
853d5f3764
commit
3818a59541
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue