shell32/tests: Remove unneeded NULL pointer casts.

This commit is contained in:
Francois Gouget 2010-08-24 10:04:01 +02:00 committed by Alexandre Julliard
parent 21541da0bb
commit a879046f63
1 changed files with 2 additions and 2 deletions

View File

@ -2901,8 +2901,8 @@ static void test_SHGetItemFromObject(void)
if(0)
{
/* Crashes with Windows 7 */
hres = pSHGetItemFromObject((IUnknown*)psfdesktop, &IID_IUnknown, (void**)NULL);
hres = pSHGetItemFromObject(NULL, &IID_IUnknown, (void**)NULL);
hres = pSHGetItemFromObject((IUnknown*)psfdesktop, &IID_IUnknown, NULL);
hres = pSHGetItemFromObject(NULL, &IID_IUnknown, NULL);
hres = pSHGetItemFromObject((IUnknown*)psfdesktop, NULL, (void**)&punk);
}