mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-25 13:43:15 +02:00
cupsprinter: fixed uninitialized var
git-svn-id: trunk@41304 -
This commit is contained in:
parent
c9973c0343
commit
0281293a6a
@ -489,7 +489,7 @@ var
|
||||
begin
|
||||
result := nil;
|
||||
|
||||
if (fcupsPrinter=nil) or (fcupsppd=nil) or (option=nil) then
|
||||
if (fcupsPrinter=nil) or (fcupsppd=nil) then
|
||||
exit;
|
||||
|
||||
option := ppdFindOption(fcupsppd, pchar(OptionStr));
|
||||
|
Loading…
Reference in New Issue
Block a user