From cfc645849d7268f2361a78d4116661078e18c174 Mon Sep 17 00:00:00 2001 From: Paul Durrant Date: Fri, 31 May 2019 12:46:57 +0100 Subject: [PATCH] Remove unreachable return statement It appears than the newer compilers are happy that a return statement after a BUG() is actually unreachable, and some compilers will actually warn to that effect, so just blow it away. Signed-off-by: Paul Durrant --- src/xenbus/cache.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xenbus/cache.c b/src/xenbus/cache.c index 688c3d9..7daf8da 100644 --- a/src/xenbus/cache.c +++ b/src/xenbus/cache.c @@ -373,7 +373,6 @@ __CacheMaskScan( } BUG("CACHE SCAN FAILED"); - return ~0u; } static FORCEINLINE VOID -- 2.39.5