winspool: Remove unnecessary call to RtlInitUnicodeString from add_printer_driver.

This commit is contained in:
Alex Henrie 2023-02-11 12:35:29 -07:00 committed by Alexandre Julliard
parent b4b6c3af75
commit 69ea31ffb5

View file

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