mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[clang-tidy] cppcoreguidelines-init-variables
This commit is contained in:
@@ -13,7 +13,7 @@ static INLINE UINT32 lzcnt_s(UINT32 x)
|
||||
|
||||
if (!g_LZCNT)
|
||||
{
|
||||
UINT32 y;
|
||||
UINT32 y = 0;
|
||||
int n = 32;
|
||||
y = x >> 16;
|
||||
if (y != 0)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
static BOOL test_co_errors(void)
|
||||
{
|
||||
size_t x;
|
||||
size_t x = 0;
|
||||
const LONG should[] = {
|
||||
(LONG)0x80004006l, (LONG)0x80004007l, (LONG)0x80004008l, (LONG)0x80004009l,
|
||||
(LONG)0x8000400Al, (LONG)0x8000400Bl, (LONG)0x8000400Cl, (LONG)0x8000400Dl,
|
||||
@@ -142,7 +142,7 @@ static BOOL TestSucceededFailedMacros(HRESULT hr, char* sym, BOOL isSuccess)
|
||||
int TestTypes(int argc, char* argv[])
|
||||
{
|
||||
BOOL ok = TRUE;
|
||||
HRESULT hr;
|
||||
HRESULT hr = 0;
|
||||
|
||||
WINPR_UNUSED(argc);
|
||||
WINPR_UNUSED(argv);
|
||||
|
||||
Reference in New Issue
Block a user