From 21139fb4e6c378c72ebb1a26627e8ef535a1104d Mon Sep 17 00:00:00 2001 From: AndyCHHuang Date: Thu, 9 May 2024 17:29:15 +0800 Subject: [PATCH] [SYCLomatic] Fix coverity issue 0508 (#1955) Signed-off-by: Huang, Andy --- llvm/lib/Support/CommandLine.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 75202f2638c4..c7cf5d1c7b9e 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -2445,8 +2445,6 @@ class HelpPrinter { return cl::getDPCTCategory(); break; } - - return cl::getDPCTCategory(); } #endif // SYCLomatic_CUSTOMIZATION