mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d: Remove "unhandled next" warnings.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2f43965c2c
commit
8e46f5ebf6
@ -475,8 +475,6 @@ HRESULT vkd3d_create_instance(const struct vkd3d_instance_create_info *create_in
|
||||
WARN("Invalid structure type %#x.\n", create_info->type);
|
||||
return E_INVALIDARG;
|
||||
}
|
||||
if (create_info->next)
|
||||
WARN("Unhandled next %p.\n", create_info->next);
|
||||
|
||||
if (!(object = vkd3d_malloc(sizeof(*object))))
|
||||
return E_OUTOFMEMORY;
|
||||
|
@ -35,8 +35,6 @@ HRESULT vkd3d_create_device(const struct vkd3d_device_create_info *create_info,
|
||||
WARN("Invalid structure type %#x.\n", create_info->type);
|
||||
return E_INVALIDARG;
|
||||
}
|
||||
if (create_info->next)
|
||||
WARN("Unhandled next %p.\n", create_info->next);
|
||||
if (!create_info->instance && !create_info->instance_create_info)
|
||||
{
|
||||
ERR("Instance or instance create info is required.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user