fix #202 - Verify Project with D-Scanner, segfault when no file opened

This commit is contained in:
Basile Burg 2017-11-19 15:29:06 +01:00
parent e075f72587
commit 632d89f537
1 changed files with 0 additions and 1 deletions

View File

@ -3578,7 +3578,6 @@ begin
prc.Executable:=pth;
prc.Options := [poUsePipes, poStderrToOutPut {$IFDEF WINDOWS}, poNewConsole{$ENDIF}];
prc.ShowWindow:= swoHIDE;
prc.Parameters.Add(fDoc.fileName);
prc.Parameters.Add('-S');
if not fDscanUnittests then
prc.Parameters.Add('--skipTests');