commit | c323d7c2a7f65fa2d9504e35b4e3be16d9e06a61 | [log] [tgz] |
---|---|---|
author | Marcin Ślusarz <marcin.slusarz@intel.com> | Wed Nov 04 19:05:19 2020 +0100 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Nov 05 12:07:51 2020 +0000 |
tree | 0fdb99142adea129c74db4ceee6d71053daadc96 | |
parent | f0061277c00d269d4e1530c4d85de7184e793bf9 [diff] |
intel/tools: refactor logging to be easier to follow by static analyzers Refactor out the part of fail_if function that never returns into NORETURN function and put the condition check outside. Addresses many false positive warnings by Coverity. Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7449>