mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 18:27:15 +00:00
winspool: Remove unnecessary call to RtlInitUnicodeString from add_printer_driver.
This commit is contained in:
parent
b4b6c3af75
commit
69ea31ffb5
|
@ -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";
|
||||
|
||||
if (!ppd) return FALSE;
|
||||
RtlInitUnicodeString( &nt_ppd, NULL );
|
||||
if (!RtlDosPathNameToNtPathName_U( ppd, &nt_ppd, NULL, NULL )) goto end;
|
||||
|
||||
ppd_params.printer = name;
|
||||
|
|
Loading…
Reference in a new issue