mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
oleaut32: Use correct variable (Coverity).
This commit is contained in:
parent
f7b22f6547
commit
49cade4b01
1 changed files with 2 additions and 2 deletions
|
@ -5152,7 +5152,7 @@ static void test_VarBstrCmp(void)
|
|||
SysFreeString(bstr);
|
||||
|
||||
bstr = SysAllocStringByteLen(sbchr0, sizeof(sbchr0));
|
||||
bstr2 = SysAllocStringByteLen(sbchr0, sizeof(sbchr00));
|
||||
bstr2 = SysAllocStringByteLen(sbchr00, sizeof(sbchr00));
|
||||
VARBSTRCMP(bstr,bstrempty,0,VARCMP_GT);
|
||||
VARBSTRCMP(bstrempty,bstr,0,VARCMP_LT);
|
||||
VARBSTRCMP(bstr2,bstrempty,0,VARCMP_GT);
|
||||
|
@ -5171,7 +5171,7 @@ static void test_VarBstrCmp(void)
|
|||
SysFreeString(bstr);
|
||||
|
||||
bstr = SysAllocStringByteLen(sbchr0, sizeof(sbchr0));
|
||||
bstr2 = SysAllocStringByteLen(sbchr0, sizeof(sbchr00));
|
||||
bstr2 = SysAllocStringByteLen(sbchr00, sizeof(sbchr00));
|
||||
VARBSTRCMP(bstr,bstrempty,0,VARCMP_GT);
|
||||
VARBSTRCMP(bstrempty,bstr,0,VARCMP_LT);
|
||||
VARBSTRCMP(bstr2,bstrempty,0,VARCMP_GT);
|
||||
|
|
Loading…
Reference in a new issue