chore: Apply suggestions from code review
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled

Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
This commit is contained in:
Marc Durdin 2026-06-09 20:58:12 +02:00 committed by GitHub
parent 1da2600818
commit a005e45d25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,7 +63,7 @@ begin
else
cmdline := cmdline + ['--no-compiler-warnings-as-errors'];
if not FGlobalProject.Options.WarnDeprecatedCode then
if Assigned(FGlobalProject) and (not FGlobalProject.Options.WarnDeprecatedCode) then
cmdline := cmdline + ['--no-warn-deprecated-code'];
if debug then