Commit b3143850 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

quartz/tests: Remove redundant null check from testfilter_JoinFilterGraph.

On Windows, wcsdup(NULL) always returns NULL.
parent c5700a63
......@@ -1501,7 +1501,7 @@ static HRESULT WINAPI testfilter_JoinFilterGraph(IBaseFilter *iface, IFilterGrap
filter->graph = graph;
free(filter->name);
filter->name = name ? wcsdup(name) : NULL;
filter->name = wcsdup(name);
return S_OK;
}
......
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