1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

quartz/tests: Remove redundant null check from testfilter_JoinFilterGraph.

On Windows, wcsdup(NULL) always returns NULL.
This commit is contained in:
Alex Henrie 2022-12-04 20:47:43 -07:00 committed by Alexandre Julliard
parent c5700a63fb
commit b3143850c2

View File

@ -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;
}