diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 18:58:40 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 17:39:29 (GMT) |
commit | b72c45e39fa9dd5870046bb5cf25d33049006bd5 (patch) | |
tree | 5bbeafd0dc942663e48b999e6d41d0446e1d2b1d /Source/cmVSSetupHelper.h | |
parent | 07172aa31ec468baea0dc3e52ce6f706f55d6f12 (diff) | |
download | CMake-b72c45e39fa9dd5870046bb5cf25d33049006bd5.zip CMake-b72c45e39fa9dd5870046bb5cf25d33049006bd5.tar.gz CMake-b72c45e39fa9dd5870046bb5cf25d33049006bd5.tar.bz2 |
clang-tidy: fix `readability-else-after-return` lints
Diffstat (limited to 'Source/cmVSSetupHelper.h')
-rw-r--r-- | Source/cmVSSetupHelper.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmVSSetupHelper.h b/Source/cmVSSetupHelper.h index ea94d37..4ef7e15 100644 --- a/Source/cmVSSetupHelper.h +++ b/Source/cmVSSetupHelper.h @@ -47,9 +47,8 @@ public: { if (pp != nullptr) { return ptr->QueryInterface(rclsid, (void**)pp); - } else { - return E_FAIL; } + return E_FAIL; } HRESULT CoCreateInstance(REFCLSID clsid, IUnknown* pUnknown, REFIID interfaceId, DWORD dwClsContext = CLSCTX_ALL) |