Module: Mesa Branch: main Commit: 21047a4a06b7901f867072b07514729e15da76c3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=21047a4a06b7901f867072b07514729e15da76c3
Author: Vinson Lee <[email protected]> Date: Wed Dec 29 23:51:32 2021 -0800 isaspec: Remove duplicate return statement. Fix defect reported by Coverity Scan. Structurally dead code (UNREACHABLE) unreachable: This code cannot be reached: return val;. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14350> --- src/compiler/isaspec/encode.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/isaspec/encode.py b/src/compiler/isaspec/encode.py index 1bb0f925da6..a0bfbf55b73 100755 --- a/src/compiler/isaspec/encode.py +++ b/src/compiler/isaspec/encode.py @@ -647,7 +647,6 @@ isa = s.isa {} /* in case no unconditional field to close out last '} else' */ ${case_post(root, case.expr)} %endfor - return val; """ xml = sys.argv[1]
