dzn: Fix 'statement with no effect' warning

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17250>
This commit is contained in:
Boris Brezillon 2022-06-28 14:48:43 +02:00
parent 97dbebb558
commit a1715875e1
2 changed files with 1 additions and 1 deletions

View file

@ -1474,7 +1474,6 @@ dzn_graphics_pipeline_translate_blend(struct dzn_graphics_pipeline *pipeline,
desc->RenderTarget[i].BlendEnable =
in_blend->pAttachments[i].blendEnable;
in_blend->logicOpEnable;
desc->RenderTarget[i].RenderTargetWriteMask =
in_blend->pAttachments[i].colorWriteMask;

View file

@ -65,6 +65,7 @@ if cc.get_argument_syntax() != 'msvc'
dzn_flags += [
'-Werror=unused-variable',
'-Werror=unused-but-set-variable',
'-Werror=unused-value',
]
endif