[PATCH v2] winmm: Pass a fullpath to CreateFileA

Dmitry Timoshkov dmitry at baikal.ru
Mon Aug 31 02:54:43 CDT 2020


Alistair Leslie-Hughes <leslie_alistair at hotmail.com> wrote:

>  static HANDLE create_file_OF( LPCSTR path, INT mode )
>  {
>      DWORD access, sharing, creation;
> +    HANDLE ret;
> +    char *fullpath = NULL;

Initialization to NULL is redundant, you could pass NULL directly to SearchPath().

-- 
Dmitry.



More information about the wine-devel mailing list