提交 8c50daa1 编写于 作者: M Michal Privoznik

nsstest: Drop useless @data check

The variable is dereferenced prior its check for NULL. The check
itself does not make much sense anyway - it's our test, we know
we are not passing NULL.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 cd000d3a
......@@ -51,9 +51,6 @@ testGetHostByName(const void *opaque)
int rv, tmp_errno = 0, tmp_herrno = 0;
size_t i = 0, j = 0;
if (!data)
goto cleanup;
memset(&resolved, 0, sizeof(resolved));
rv = _nss_libvirt_gethostbyname2_r(data->hostname,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册