mirror of https://github.com/FreeRDP/FreeRDP
[winpr,tests] remove always false check
This commit is contained in:
parent
fe28f9ed9c
commit
2b51551cb8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue