shell32/tests: Remove unneeded NULL pointer casts.
This commit is contained in:
parent
21541da0bb
commit
a879046f63
|
@ -2901,8 +2901,8 @@ static void test_SHGetItemFromObject(void)
|
||||||
if(0)
|
if(0)
|
||||||
{
|
{
|
||||||
/* Crashes with Windows 7 */
|
/* Crashes with Windows 7 */
|
||||||
hres = pSHGetItemFromObject((IUnknown*)psfdesktop, &IID_IUnknown, (void**)NULL);
|
hres = pSHGetItemFromObject((IUnknown*)psfdesktop, &IID_IUnknown, NULL);
|
||||||
hres = pSHGetItemFromObject(NULL, &IID_IUnknown, (void**)NULL);
|
hres = pSHGetItemFromObject(NULL, &IID_IUnknown, NULL);
|
||||||
hres = pSHGetItemFromObject((IUnknown*)psfdesktop, NULL, (void**)&punk);
|
hres = pSHGetItemFromObject((IUnknown*)psfdesktop, NULL, (void**)&punk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue