From: Paul Durrant Date: Fri, 31 May 2019 11:46:57 +0000 (+0100) Subject: Remove unreachable return statement X-Git-Tag: 9.0.0-rc1~18 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=cfc645849d7268f2361a78d4116661078e18c174;p=pvdrivers%2Fwin%2Fxenbus.git 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 --- 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