Skip to content

Commit

Permalink
nwrap: Fix initialization of e entry
Browse files Browse the repository at this point in the history
This fixes a compiler warning.

Signed-off-by: Andreas Schneider <[email protected]>
Reviewed-by: Michael Adam <[email protected]>
  • Loading branch information
cryptomilk authored and obnoxxx committed Jan 11, 2016
1 parent f1acb0e commit 8fad97b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/nss_wrapper/nss_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -3518,7 +3518,9 @@ static int nwrap_files_getaddrinfo(const char *name,
size_t name_len;
char canon_name[DNS_NAME_MAX] = { 0 };
bool skip_canonname = false;
ENTRY e = { 0 };
ENTRY e = {
.key = NULL,
};
ENTRY *e_p = NULL;
int rc;
bool ok;
Expand Down

0 comments on commit 8fad97b

Please sign in to comment.