Commit a879046f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

shell32/tests: Remove unneeded NULL pointer casts.

parent 21541da0
...@@ -2901,8 +2901,8 @@ static void test_SHGetItemFromObject(void) ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment