From 21047a4a06b7901f867072b07514729e15da76c3 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 29 Dec 2021 23:51:32 -0800 Subject: [PATCH] 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 Reviewed-by: Rob Clark Part-of: --- 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 1bb0f92..a0bfbf5 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] -- 2.7.4