Commit 69ea31ff authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

winspool: Remove unnecessary call to RtlInitUnicodeString from add_printer_driver.

parent b4b6c3af
...@@ -642,7 +642,6 @@ static BOOL add_printer_driver( const WCHAR *name, const WCHAR *ppd_dir ) ...@@ -642,7 +642,6 @@ static BOOL add_printer_driver( const WCHAR *name, const WCHAR *ppd_dir )
WCHAR raw[] = L"RAW", driver_nt[] = L"wineps.drv"; WCHAR raw[] = L"RAW", driver_nt[] = L"wineps.drv";
if (!ppd) return FALSE; if (!ppd) return FALSE;
RtlInitUnicodeString( &nt_ppd, NULL );
if (!RtlDosPathNameToNtPathName_U( ppd, &nt_ppd, NULL, NULL )) goto end; if (!RtlDosPathNameToNtPathName_U( ppd, &nt_ppd, NULL, NULL )) goto end;
ppd_params.printer = name; ppd_params.printer = name;
......
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