[winpr,tests] remove always false check

This commit is contained in:
Armin Novak 2023-10-11 11:12:07 +02:00 committed by akallabeth
parent fe28f9ed9c
commit 2b51551cb8
1 changed files with 0 additions and 6 deletions

View File

@ -44,12 +44,6 @@ int TestClipboardFormats(int argc, char* argv[])
const char pSrcData[] = "this is a test string";
char* pDstData;
if (!pSrcData)
{
fprintf(stderr, "Memory allocation failed\n");
return -1;
}
SrcSize = (UINT32)(strnlen(pSrcData, ARRAYSIZE(pSrcData)) + 1);
bSuccess = ClipboardSetData(clipboard, utf8StringFormatId, pSrcData, SrcSize);
fprintf(stderr, "ClipboardSetData: %" PRId32 "\n", bSuccess);